-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AI editor #1094
Draft
andrewsanchez
wants to merge
52
commits into
main
Choose a base branch
from
ai-editor
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+7,062
−17
Draft
AI editor #1094
Changes from 1 commit
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
9baef8e
Dropdown menu for llm templates.
andrewsanchez 906e157
Rename stuff.
andrewsanchez 16c906a
Fix dq window display issue and run subprocess properly.
andrewsanchez 277562a
Update note with LLM response.
andrewsanchez bf6a6cf
Check and install uv.
andrewsanchez 4f87112
Install llm with uv.
andrewsanchez c0a4bc2
Fix uv run issue.
andrewsanchez f21819e
Install provides.
andrewsanchez 82e2481
show diff.
andrewsanchez c0bdc0c
Update ankihub/labs/llm/llm.py
andrewsanchez 4a284db
Show only anki templates.
andrewsanchez 36ff308
Delete templates.py.
andrewsanchez ca24131
Add prompt templates.
andrewsanchez f7e1042
Preview prompt.
andrewsanchez 3d0f67a
perf: get templates dir once.
andrewsanchez e3b30d2
Copy templates.
andrewsanchez af77d3c
Add support for linux
RisingOrange 299d9e9
Fix error in AddCardsDialog
RisingOrange d58574a
Fix dialog focus after updating note
RisingOrange 649677e
Add secrets dialog.
andrewsanchez 63f5421
Improve the prompt preview dialog.
andrewsanchez c948f92
Merge remote-tracking branch 'origin/main' into ai-editor
andrewsanchez c8da4c2
subproject commit.
andrewsanchez f5a7106
Move import
andrewsanchez 1bf8f15
Add yaml lib.
andrewsanchez 6899aa6
enable labs.
andrewsanchez 55e3d99
Create add-on first.
andrewsanchez e3498b9
Save template.
andrewsanchez ef94d36
always make addon file right away.
andrewsanchez afcd2b6
Accept result dialog before showing other dialog
RisingOrange 80eba58
Try fix UI issue
RisingOrange fbf2a90
Use shell scripts and set PATH.
andrewsanchez df50cc1
Move scripts.
andrewsanchez 33585d6
Make _install_llm work on Windows
RisingOrange f1b1e93
Fix focus issue
RisingOrange 98e2ba9
Move labs depedenencies installation to background
RisingOrange 3c9f64e
Use without_collection on query op for installing labs dependencies
RisingOrange 8f84e8b
Use shell scripts.
andrewsanchez 1d7b078
Make scripts excutable.
andrewsanchez 90745e8
Combine scripts.
andrewsanchez 44af1fe
Provide path to UV.
andrewsanchez b5b9b26
utf-8.
andrewsanchez 185ffbe
utf-8
andrewsanchez bc5957b
FIx secrets dialog.
andrewsanchez 57e5d47
Pass and update only the first field.
andrewsanchez 3c6d2b8
Template.
andrewsanchez f29e542
Be sure to install providers.
andrewsanchez 15e3abb
Merge branch 'main' into ai-editor
andrewsanchez ed25344
fix: Add install_providers cmd, don't make UI changes in background
RisingOrange 60c7286
fix: Remove unused note_schema argument
RisingOrange eb450df
Add "Reset template" button to prompt preview
RisingOrange b6bf5cd
Don't reinstall providers every time
RisingOrange File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure why but this results in some funky yaml, @RisingOrange :
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually not sure if it's this or saving user changes. I'll take a look
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ya I think it happens when users try to save the template changes but not sure why yet.