Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion architecture/models.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ The primary interface for generators. Holds a `ModelConfig`, `ModelClient`, opti

- **`completion` / `acompletion`** — consolidates kwargs from inference params, the call, and provider extras (`extra_body` is merged key by key in that order), forwards known request fields such as `tools` and `tool_choice` (adapters translate them per provider), warns about dropped kwargs, calls the client, tracks usage
- **`generate_text_embeddings` / `agenerate_text_embeddings`** — embedding generation
- **`image_generation` / `aimage_generation`** — image generation
- **`generate_image` / `agenerate_image`** — image generation
- **MCP tool loops** — when a tool config is active, processes tool calls from completions via `MCPFacade`, feeds results back, and tracks tool usage stats. A caller's `tool_choice` applies only until the first tool call, so a forced choice cannot keep the loop from ending

### ModelRegistry
Expand Down
Loading