feat: saved api_key to keychain for user#104
Conversation
|
very cool! how would a user update the just had a thought! what do you think of a
|
|
cc @alecthomas |
* main: fix: exit the goose and show the error message when provider environment variable is not set (#103) fix: Update OpenAI pricing per https://openai.com/api/pricing/ (#110) fix: update developer tool prompts to use plan task status to match allowable statuses update_plan tool call (#107) fix: removed the panel in the output so that the user won't have unnecessary pane borders in the copied content (#109) docs: update links to exchange to the new location (#108) chore: setup workspace for exchange (#105)
| return profile | ||
|
|
||
|
|
||
| class SessionNotifier(Notifier): |
There was a problem hiding this comment.
moved to a seperate file
|
|
||
| self.prompt_session = GoosePromptSession() | ||
|
|
||
| def _create_exchange(self) -> Exchange: |
There was a problem hiding this comment.
exacted to a util function
Yes, that could be useful. |
I think we can enhance this later. When we load the api key from keychain, the console prints the message about the api_key source. If it is not correct, the user still can update by themselves. |
|
This is awesome! |
* main: (41 commits) chore: Add goose providers list command (#116) docs: working ollama for desktop (#125) docs: format and clean up warnings/errors (#120) docs: update deploy workflow (#124) feat: Implement a goose run command (#121) feat: saved api_key to keychain for user (#104) docs: add callout plugin (#119) chore: add a page to docs for Goose application examples (#117) fix: exit the goose and show the error message when provider environment variable is not set (#103) fix: Update OpenAI pricing per https://openai.com/api/pricing/ (#110) fix: update developer tool prompts to use plan task status to match allowable statuses update_plan tool call (#107) fix: removed the panel in the output so that the user won't have unnecessary pane borders in the copied content (#109) docs: update links to exchange to the new location (#108) chore: setup workspace for exchange (#105) fix: resolve uvx when using a git client or IDE (#98) ci: add include-markdown for mkdocs (#100) chore: fix broken badge on readme (#102) feat: add global optional user goosehints file (#73) docs: update docs (#99) chore(release): release 0.9.3 (#97) ...
Why
Enable users to store api key in keychain for convenience
What
Rules
When the api key environment variable does not exist,
Changes
create_exchangeinto a util file