Open
Conversation
• Added a new static method safe_open_clipboard that attempts to open the clipboard repeatedly (with configurable retries and delay) to handle transient access issues. • Replaced direct win32clipboard.OpenClipboard calls in _paste_with_clipboard_preservation with safe_open_clipboard to safely preserve and later restore clipboard data. • Updated win32clipboard.SetClipboardText to use the CF_UNICODETEXT flag to ensure proper Unicode formatting. • Wrapped the clipboard closing calls in a try/except block to guarantee cleanup even if errors occur. • Added error messages if the clipboard cannot be opened for preservation or restoration. These changes improve the robustness and reliability of clipboard operations during simulated input actions.
…tion Body: Previously, when reading a file in the settings window the file's content was appended to the existing text in the text editor. This led to unexpected modifications of the displayed text. With this change, the editor now retains its current text without appending additional content from the file. File contents are only appended for the api call.
…or gpt-4o-transcribe Body: • Update config_schema.yaml to include a new transcription model option, gpt-4o-transcribe. • Modify transcription.py to obtain the model from api_options instead of hardcoding "whisper-1". • Update the logging message to reflect the chosen model, ensuring transparency during API requests. These changes enable dynamic selection of OpenAI transcription models based on the configuration.
The program was looking for an API key that Ollama doesn't have since it's local. I fixed it. I have no experience writing Python code, so this might break something else but for the time being it fixes the issue I had. (For example, this description was spellchecked by `airat/karen-the-editor-v2-strict:latest`!)
Author
|
I also disabled |
changed ollama api token to something less gaudy
modified as per request
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Yippee, Wahoo! Ollama works now, too! :P