factor_agent.llm.base#
The one external seam: an LLM backend turns a request into a reply.
Classes
A backend that asks |
|
Anything that completes a request. |
|
The provider's answer: its text, token usage as the provider reports it and the model that answered. |
|
One call: the role making it, the model, the prompt and the sampling parameters. |
Functions
The options a role's config on the backend |
|
The backends a role's config may name, each name to its class. |
|
Build the backend a role's config names in |
|
Refuse a role's config on the backend |