reading api key from a config file
thisismygitrepo opened this issue · comments
Like many other tools, can we please have this one reading api key from the config file? as opposed from env vars or explicity passing.
You can pass api_key
in a model definition in the config file. Something like this should work:
[[models]]
id = "my-gpt-3.5-turbo"
name = "gpt-3.5-turbo"
display_name = "My GPT 3.5 Turbo"
api_key = "something"