Skip to main content

Module credentials

Module credentials 

Source
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 login received 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, else OPENAI_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 key for team, 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.