block-open-source / goose

Goose is a developer agent that operates from your command line to help you do the boring stuff.
https://block-open-source.github.io/goose/
Apache License 2.0
73 stars 12 forks source link

feat: saved api_key to keychain for user #104

Open lifeizhou-ap opened 21 hours ago

lifeizhou-ap commented 21 hours ago

This is a draft PR only for early feedback. It does not have test yet and also depends on the exchange PR

What When the api key environment variable does not exist,

Screenshot 2024-10-01 at 4 08 35 PM Screenshot 2024-10-01 at 4 09 20 PM Screenshot 2024-10-01 at 4 09 44 PM ) Screenshot 2024-10-01 at 4 14 51 PM

lamchau commented 20 hours ago

very cool! how would a user update the keychain with the same prompts (typo, rotation, etc)?

just had a thought! what do you think of a goose config (and maybe even a goose check)? that way we can use it as a catch all to do things