Expand description
~/.config/comindly/credentials: your LLM API keys, a default and optionally one per team name,
and the server comindly login signed you in to. Readable only by you and never shared;
OPENAI_API_KEY is the fallback key.
Structs§
- Login
- A server and the personal access token
comindly loginreceived for it.
Enums§
- Source
- Where an API key comes from, for display.
Functions§
- llm_key
- The API key for
team(a team name): its entry, else the default, elseOPENAI_API_KEY; on a server, the deployment’s key or the one stored there. - login
- The server you are signed in to, if any.
- path
- set_
llm_ key - Store
keyforteam, or as the default without one; an empty key removes it. - set_
login - Remember the server you signed in to, or forget it with
None.