robotsix_chat.config
Configuration package for robotsix-chat (split from config.py).
Re-exports every public symbol at the package top level so existing
from robotsix_chat.config import <X> imports keep working unchanged.
CentralDeploySettings
Bases: BaseModel
Central-deploy roster and component-access settings.
Provides the base URL for the central-deploy management-plane API.
At session start the agent fetches the
GET /chat/components roster (a list of component agents the chat
is allowed to call), caches it with a short TTL, and loads each
component's declared skill into the agent.
Attributes:
| Name | Type | Description |
|---|---|---|
url |
str
|
Canonical base URL of the central-deploy / deploy-lifecycle API
(no trailing slash). Single source of truth for the deploy-plane
address; the lifecycle client and feedback roster lookup both read
it (the former |
roster_cache_ttl |
float
|
Seconds to cache the roster before re-fetching. Default 300 (5 min). |
component_response_max_chars |
int
|
Maximum characters of a component API response returned to the agent; longer bodies are truncated. Default 200000. |
deploy_api_key |
SecretStr
|
Canonical deploy-plane credential — the shared
secret between this chat component and central-deploy. Sent as
the |
component_credentials |
dict[str, ComponentCredentials]
|
Per-component credentials keyed by
component id. Each entry carries credentials for all
supported auth schemes; the roster entry's |
Source code in src/robotsix_chat/config/deploy_models.py
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 | |
ComponentClientSettings
Bases: BaseModel
Component agent client settings — inspect and configure remote agents.
When enabled, the chat agent gains four tools: list_component_agents,
get_component_telemetry, get_component_config, and
set_component_config so it can enumerate configured component agents,
read live telemetry, and read/update configuration on demand via direct
HTTP.
Attributes:
| Name | Type | Description |
|---|---|---|
enabled |
bool
|
Master switch. |
timeout |
float
|
Per-request HTTP timeout (seconds). |
components |
list[ComponentTarget]
|
Allowlist of component agents the chat may contact.
Each entry has a |
Source code in src/robotsix_chat/config/component_models.py
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | |
ComponentCredentials
Bases: BaseModel
Stored credentials for a single roster component.
Keys are component IDs matching the id field returned by the
central-deploy GET /chat/components roster. Each entry carries
credentials for all supported auth schemes; the roster entry's auth.type
selects which fields are used.
Attributes:
| Name | Type | Description |
|---|---|---|
basic_auth_username |
SecretStr
|
Username for HTTP Basic authentication. |
basic_auth_password |
SecretStr
|
Password for HTTP Basic authentication. |
header_token |
SecretStr
|
Token value for header-based authentication
(e.g. |
Source code in src/robotsix_chat/config/deploy_models.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | |
ComponentTarget
Bases: BaseModel
A single component agent that the chat may inspect or configure.
Attributes:
| Name | Type | Description |
|---|---|---|
base_url |
str
|
Base URL of the component agent (e.g.
|
label |
str
|
Optional human-readable label shown in discovery output. |
Source code in src/robotsix_chat/config/component_models.py
62 63 64 65 66 67 68 69 70 71 72 73 74 | |
ConversationSettings
Bases: BaseModel
Multi-session conversation continuity for the browser chat.
The server groups conversations by a per-browser owner_id and addresses
individual sessions by session_id. Each owner can have multiple named
sessions with independent turn histories. History is never wiped on
idle — sessions are persistent when persist_path is configured.
Attributes:
| Name | Type | Description |
|---|---|---|
persist_path |
str
|
Path to the JSON persistence file. Default
|
Source code in src/robotsix_chat/config/session_models.py
571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 | |
DiagnosticsSettings
Bases: BaseModel
Diagnostics capture and systemic fix surfacing.
When enabled, the agent captures diagnostic bundles for failure events
and can detect recurring failure categories. When a category crosses
the recurrence threshold a FixProposal is auto-generated (but NOT
auto-applied) for agent or human review.
Applied fixes are tracked in the effectiveness store; after the
observation window elapses a FixEffectivenessReport is generated
comparing pre-fix and post-fix recurrence counts.
Attributes:
| Name | Type | Description |
|---|---|---|
enabled |
bool
|
Master switch. Default |
store_path |
str
|
Path to the diagnostic-event JSON persistence file.
Default |
proposals_path |
str
|
Path to the fix-proposal JSON persistence file.
Default |
effectiveness_path |
str
|
Path to the effectiveness-report JSON
persistence file. Default |
recurrence_threshold |
int
|
Minimum number of occurrences within the
window to trigger a recurrence alert. Default |
recurrence_window_days |
int
|
Look-back window in days for recurrence
detection. Default |
observation_window_days |
int
|
Days after a fix is applied to wait before
generating an effectiveness report. The pre-fix and post-fix
windows are both this many days. Default |
mill_events_path |
str
|
DEPRECATED, unused since 2026-09-07 —
|
Source code in src/robotsix_chat/config/ref_doc_models.py
71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | |
DirectRepoSettings
Bases: BaseModel
Direct-repo push-branch, open-PR, and direct-fix capability.
Authenticates as the robotsix-mill GitHub App. When enabled, the chat
agent gains tools: push_direct_repo_branch
(create/push a branch with file changes), open_direct_repo_pr
(open a PR from a branch), and — when direct_fix_enabled is also
True — direct_fix (push a commit directly to a target branch,
bypassing the PR flow). All authenticate as the configured GitHub App
installation (JWT → short-lived installation token) and dynamically
resolve the allowed repo set from the installation at action time —
no static allowlist.
Guardrails built into the tools (not configurable):
- Actions are ONLY permitted for tickets in BLOCKED state.
- Repo scope is resolved dynamically from the GitHub App installation.
- PRs are opened in a reviewable state with no auto-merge.
- merge_direct_repo_pr can merge an approved, mergeable PR when the ticket is
in BLOCKED state — do not merge before the human gate is satisfied.
Additional guardrails for direct_fix:
- Ticket must have exhausted its spawn limit (≥3 implement cycles)
verified against the board API.
- Every direct-fix action is logged at WARNING level for auditability.
Attributes:
| Name | Type | Description |
|---|---|---|
enabled |
bool
|
Master switch. When |
direct_fix_enabled |
bool
|
When |
github_app_id |
str
|
The GitHub App's numeric or slug id. Required when enabled. |
github_app_private_key |
SecretStr
|
The app's RSA private key in PEM format. Required when enabled. Stored in config only — never hardcoded. |
github_app_installation_id |
str
|
Optional installation id to act as.
Leave empty to resolve the installation per repository (from
|
github_api_base_url |
str
|
Overridable base URL for GitHub Enterprise. |
board_api_base_url |
str
|
Base URL of the board HTTP API for ticket-state lookups (verifying BLOCKED state). |
board_api_token |
SecretStr
|
Optional bearer token for the board API. |
timeout |
float
|
Per-request HTTP timeout in seconds. |
github_pat |
SecretStr
|
GitHub personal access token used ONLY to create
repositories ( |
Source code in src/robotsix_chat/config/storage_models.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | |
DockerDigestSettings
Bases: BaseModel
Read-only Docker digest resolution tool for the agent.
When enabled, the agent gains a resolve_docker_digest tool that
resolves a Docker image reference (e.g. python:3.14-slim) and
target platform to its immutable sha256:... content digest by
querying the Docker Registry v2 HTTP API.
Attributes:
| Name | Type | Description |
|---|---|---|
enabled |
bool
|
Master switch. When |
timeout |
float
|
Per-request HTTP timeout in seconds (default 30 s). |
registry_host |
str
|
Docker Registry v2 hostname for manifest lookups.
Default |
auth_url |
str
|
Token-authentication endpoint for bearer tokens.
Default |
Source code in src/robotsix_chat/config/network_models.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | |
FeedbackSettings
Bases: BaseModel
Automated feedback analysis for continuous self-improvement.
When enabled, a feedback run analyses the conversation at compaction
and session-end boundaries, then files improvement tickets via the
board's POST /tickets/ingest endpoint. Tickets flow through the
normal human-approval workflow — the feedback run never auto-approves.
Attributes:
| Name | Type | Description |
|---|---|---|
enabled |
bool
|
Master switch. When |
model_level |
int
|
llmio capability level for the feedback-analysis
agent (a cheap, single-turn extraction call). Default |
board_url |
str
|
Base URL of the board HTTP API (no trailing slash).
Required when enabled — the runner POSTs to
|
board_api_token |
SecretStr
|
Optional Bearer token for the board API. |
timeout |
float
|
Per-request HTTP timeout in seconds for ingest calls. The set of allowed target repos is resolved dynamically at run-time from the deploy server's chat-component roster intersected with the mill board's repo registry — no static allowlist is needed. |
max_tickets_per_run |
int
|
Ceiling on tickets filed by one feedback run.
A run fires at every compaction and session-end boundary, and
was previously unbounded: across 37 observed runs it filed 114
tickets, mean 3.08, peaking at 9 from a single run. Excess
tickets are dropped with a warning naming each one. |
dedup_window_seconds |
float
|
Time window (in seconds) for suppressing
duplicate feedback runs and duplicate ticket titles. When
two feedback runs for the same session are scheduled within
this window, the second is skipped. Similarly, when two
tickets with the same normalized title (lowercased, stripped)
are filed within this window, the second is skipped. Default
|
ingest_max_retries |
int
|
Number of automatic retries when a
|
max_concurrent_runs |
int
|
Ceiling on feedback runs executing at the
same time; further runs wait for a slot (never dropped). Each
run is a full analysis-agent call and every finding it routes
spawns an investigation subsession, so an unbounded burst —
an operator deleting dozens of stale sessions in one sweep
(2026-09-15: ~70 |
The deploy-roster lookup uses the canonical central_deploy.url and
central_deploy.deploy_api_key (the per-block deploy_api_key was
retired).
Source code in src/robotsix_chat/config/notification_models.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 | |
FileHubToolsSettings
Bases: BaseModel
File-hub integration — fetch, fill, and upload documents via file-hub.
When enabled, the agent gains six tools:
file_hub_get— download a file from file-hub by id to a local working directory, returning the local path and metadata.list_pdf_form_fields— inspect AcroForm fields in a PDF.render_pdf_page— render a PDF page to a viewable raster image.fill_pdf_document— fill a PDF: set AcroForm field values by name, or overlay text at given page/x/y coordinates for flat PDFs.transform_image— resize, compress, convert, or strip metadata from an image stored in file-hub, returning the new file-hub id.file_hub_put— upload a local file to file-hub, preserving filename and content-type, returning the new file-hub id.
The driving use case is processing administrative PDF attachments (e.g. SEPA mandates received by mail and pushed to file-hub by robotsix-auto-mail): fetch → fill → return.
Attributes:
| Name | Type | Description |
|---|---|---|
enabled |
bool
|
Master switch. When |
base_url |
str
|
Base URL of the file-hub service (e.g.
|
working_dir |
str
|
Local directory for downloaded and filled files.
Default |
max_download_bytes |
int
|
Maximum file size in bytes for downloads. Default 50 MB. |
timeout |
float
|
Per-request HTTP timeout in seconds. |
Source code in src/robotsix_chat/file_hub_tools/settings.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | |
GatewayRouteSettings
Bases: BaseModel
Read-only gateway-route diagnostic tool for the agent.
When enabled, the agent gains a check_gateway_route tool that reads
central-deploy's component registry, derives the current
vhost → upstream mapping, and compares it with the expected route for a
supplied service slug. central-deploy publishes every registered,
routable component at <id>.<gateway_base_domain> automatically, so a
route is "present" exactly when the slug is registered.
Attributes:
| Name | Type | Description |
|---|---|---|
enabled |
bool
|
Master switch. When |
timeout |
float
|
Per-request HTTP timeout in seconds (default 30 s). |
gateway_base_domain |
str
|
Fleet base domain used to derive the expected
vhost |
Source code in src/robotsix_chat/config/network_models.py
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | |
GitHubActionsSettings
Bases: BaseModel
GitHub Actions secrets and workflow dispatch via the GitHub App installation.
When enabled, the chat agent gains set_actions_secret and
dispatch_workflow tools that can create/update repository Actions
secrets and trigger workflow_dispatch events on repos under the
configured GitHub App's installation scope.
Guardrails built into the tools (not configurable):
- Repo scope is resolved dynamically from the GitHub App installation
(list-installation-repositories) — no static allowlist.
- Only repos within the installation scope are modifiable.
- Secret encryption uses libsodium sealed-box (requires pynacl).
- Both tools are confirmation-gated: the agent must confirm the exact
repo, secret name (or workflow id + ref) with the user before calling.
Attributes:
| Name | Type | Description |
|---|---|---|
enabled |
bool
|
Master switch. When |
github_org |
str
|
GitHub organisation name whose repos are in scope
(e.g. |
The inbound X-API-Key presented on the Actions endpoints is matched
against the canonical central_deploy.deploy_api_key (the per-block
deploy_api_key was retired). When that key is empty, the endpoints
return 503 (unconfigured).
Note: GitHub App authentication is delegated to
:class:DirectRepoSettings — those credentials must also be configured
for the tools to function.
Source code in src/robotsix_chat/config/github_models.py
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 | |
GitHubSecuritySettings
Bases: BaseModel
Repository security-feature toggle via the GitHub App installation.
When enabled, the chat agent gains a set_repo_security_and_analysis
tool that can enable or disable repository-level security features
(dependency graph, advanced security, secret scanning) on repos under
the configured GitHub App's installation scope.
Guardrails built into the tool (not configurable):
- Repo scope is resolved dynamically from the GitHub App installation
(list-installation-repositories) — no static allowlist.
- Only repos within the installation scope are modifiable.
- Each feature toggle explicitly requires "enabled" or "disabled"
— no accidental bulk changes.
Attributes:
| Name | Type | Description |
|---|---|---|
enabled |
bool
|
Master switch. When |
github_org |
str
|
GitHub organisation name whose repos are in scope
(e.g. |
The inbound X-API-Key presented on the
PATCH /chat/github/repos/{owner}/{repo}/settings endpoint is matched
against the canonical central_deploy.deploy_api_key (the per-block
deploy_api_key was retired). When that key is empty, the endpoint
returns 503 (unconfigured).
Note: GitHub App authentication is delegated to
:class:DirectRepoSettings — those credentials must also be configured
for the tool to function.
Source code in src/robotsix_chat/config/github_models.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | |
HttpProbeSettings
Bases: BaseModel
Read-only HTTP uptime/render-probe tool for the agent.
When enabled, the agent gains an http_probe tool that performs a
plain HTTPS GET to a public URL (follows redirects, short timeout)
and returns the HTTP status, final URL, response time, Content-Type,
response size, and a snippet of the body text with optional content
assertions.
Attributes:
| Name | Type | Description |
|---|---|---|
enabled |
bool
|
Master switch. When |
timeout |
float
|
Per-request HTTP timeout in seconds (default 10 s). |
allowlist |
list[str]
|
Hostnames (no protocol, no path) that the tool is permitted to
probe. At minimum must include |
max_body_bytes |
int
|
Maximum bytes of the response body to read and return to the agent (default 2048 — ~2 KB). |
max_redirects |
int
|
Maximum number of redirects to follow (default 5). |
Source code in src/robotsix_chat/config/render_url_models.py
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | |
KindTurnBudget
Bases: BaseModel
Per-subsession-kind agent-turn budget.
Each subsession kind (task, periodic, user_chat, on_close) carries its own soft-warn and hard-stop turn thresholds. A subsession that exceeds these limits is either nudged to wrap up (soft warn) or force-closed with a partial-work summary (hard stop).
Attributes:
| Name | Type | Description |
|---|---|---|
soft_warn_turns |
int
|
Number of agent turns before the worker injects a
system reminder telling the agent to wrap up and call
|
hard_stop_turns |
int
|
Number of agent turns before the worker force-closes
the subsession with a summary of work-so-far. Default |
Source code in src/robotsix_chat/config/session_models.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | |
KnowledgeSettings
Bases: BaseModel
Local, writable knowledge base for agent-authored operational notes.
A deliberate, explicit, agent-curated store of durable lessons and findings
— plain local JSON, no embeddings, no external service, always-on. The
agent writes notes via five tools
(add_knowledge_note, append_to_knowledge_note,
update_knowledge_note, list_knowledge_notes,
read_knowledge_note)
and can re-read and revise them by id across sessions.
This store is complementary to, not a duplicate of, the long-term
memory component (memory/), which automatically recalls past
conversations by similarity; this knowledge base holds notes the agent
deliberately authors and addresses by id.
Attributes:
| Name | Type | Description |
|---|---|---|
enabled |
bool
|
Master switch. Default |
path |
str
|
Path to the JSON persistence file. Default
|
Source code in src/robotsix_chat/config/component_models.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | |
LangfuseInspectSettings
Bases: BaseModel
Langfuse trace-inspection tool — lets the agent query recent traces.
Reuses the main langfuse credentials (public key + secret key + host)
for API authentication — no separate credential fields. When enabled, the
agent gains an inspect_langfuse_trace tool that fetches and summarises
recent implement traces for a given ticket or trace id.
Attributes:
| Name | Type | Description |
|---|---|---|
enabled |
bool
|
Master switch. Default |
max_traces |
int
|
Maximum number of traces returned per query. Default |
Source code in src/robotsix_chat/config/langfuse_models.py
167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 | |
LangfuseProjectCreds
Bases: BaseModel
Credentials for one Langfuse project.
Attributes:
| Name | Type | Description |
|---|---|---|
public_key |
SecretStr
|
Langfuse public key for the project. |
secret_key |
SecretStr
|
Langfuse secret key for the project. |
project_id |
str
|
Langfuse project id. Optional — only consumers that address a project by id rather than by name need it. |
Source code in src/robotsix_chat/config/langfuse_models.py
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | |
is_configured()
Return True when both key halves are set.
Source code in src/robotsix_chat/config/langfuse_models.py
42 43 44 45 46 | |
LangfuseSettings
Bases: BaseModel
Canonical Langfuse credential block (component standard).
One block per component, holding the instance host and every
Langfuse project the component traces to, keyed by the project's
name. The component standard fixes those names as <repo> for
the component's main LLM function and <repo>-<function> for each
additional LLM-generating subsystem — so this component declares
robotsix-chat (main agent).
Keeping every project in one standard block is what lets central-deploy
enumerate the fleet's credentials uniformly and dispatch them to the
consumers that need them (the chat trace proxy, cost-monitor's
reconciliation). See PROJECT_MAIN / PROJECT_MEMORY in
:mod:robotsix_chat.config for this component's names.
Attributes:
| Name | Type | Description |
|---|---|---|
host |
str
|
Langfuse instance base URL. |
projects |
dict[str, LangfuseProjectCreds]
|
Langfuse project name → credentials. |
Source code in src/robotsix_chat/config/langfuse_models.py
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 | |
creds(project)
Return credentials for project, or empty creds when absent.
Absent and half-filled projects both yield credentials whose
is_configured() is False, so callers degrade to "tracing
off" rather than raising.
Source code in src/robotsix_chat/config/langfuse_models.py
102 103 104 105 106 107 108 109 | |
LifecycleSettings
Bases: BaseModel
Deploy-lifecycle API access for the agent.
When enabled, the chat agent gains tools to inspect the
central-deploy lifecycle server: list services, check service status
and health, read configuration and environment (with secrets
already masked as *** server-side by _mask_secrets), and
restart services.
Attributes:
| Name | Type | Description |
|---|---|---|
enabled |
bool
|
Master switch. When |
default_protocol |
str
|
Scheme ( |
api_key |
SecretStr
|
API key sent as the |
service_name |
str
|
This service's own name as registered with the deploy
server (e.g. |
timeout |
float
|
Per-request HTTP timeout in seconds. |
self_restart_max_retries |
int
|
How many times |
Source code in src/robotsix_chat/config/session_models.py
605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 | |
OpenRouterSettings
Bases: BaseModel
Canonical OpenRouter credential block (component standard).
Holds OpenRouter API keys keyed by the alias each LLM-generating
subsystem is billed under. The alias matches the subsystem's Langfuse
project name in the top-level langfuse.projects map, so cost-monitor
can join OpenRouter provider spend to Langfuse traces via the shared
alias.
The main chat agent runs on the Claude SDK and needs no OpenRouter key,
so this component declares only the robotsix-chat-cognee alias — the
:mod:robotsix_chat.config.
Attributes:
| Name | Type | Description |
|---|---|---|
keys |
dict[str, SecretStr]
|
OpenRouter alias (Langfuse project name) → API key. |
Source code in src/robotsix_chat/config/openrouter_models.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | |
key(alias)
Return the API key for alias, or an empty secret when absent.
Source code in src/robotsix_chat/config/openrouter_models.py
29 30 31 | |
PeriodicSettings
Bases: BaseModel
Periodic chat sessions — scheduler presets plus board-tool thresholds.
Attributes:
| Name | Type | Description |
|---|---|---|
sessions |
list[PeriodicSessionDefinition]
|
The preset list. An empty list simply means nothing fires. |
ready_staleness_minutes |
int
|
Minutes a ticket may sit in |
priority_ready_staleness_minutes |
int
|
The same threshold for priority-flagged tickets, which legitimately wait longer in a serial implementation queue. |
Source code in src/robotsix_chat/config/periodic_models.py
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 | |
PublicFetchSettings
Bases: BaseModel
Scoped public-repo-fetch tool for the chat agent.
When enabled, the agent gains a fetch_public_url tool that performs
a plain HTTP(S) GET to a user-provided public URL, returns the raw
text/file contents with metadata, and writes an audit-log entry per
fetch. SSRF protection blocks internal/private IP ranges for public
hosts. Fleet components, resolved from the central-deploy roster, are
trusted by the operator: they bypass the SSRF check and the domain
allowlist, and their requests carry server-injected basic auth.
Attributes:
| Name | Type | Description |
|---|---|---|
enabled |
bool
|
Master switch. When |
timeout |
float
|
Per-request HTTP timeout in seconds (default 10 s). |
max_body_bytes |
int
|
Maximum bytes of the response body to read and return to the agent (default 1_048_576 — ~1 MB). |
max_redirects |
int
|
Maximum number of redirects to follow (default 5). |
domain_allowlist |
list[str]
|
Optional list of hostnames (no protocol, no path) that the tool is permitted to fetch. When empty, any public hostname is allowed (subject to SSRF checks). |
rate_limit_requests |
int
|
Maximum number of requests allowed within
|
rate_limit_window_seconds |
float
|
Sliding window in seconds for the rate limiter (default 60.0). |
Source code in src/robotsix_chat/config/network_models.py
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | |
RefDocsSettings
Bases: BaseModel
Read-only reference-docs tool for the agent.
Lets the agent fetch documentation from allowlisted GitHub repos on demand. Primarily used to consult the board-workflow reference repo when deciding whether a ticket needs manual human action. The tool is strictly read-only, fetches are on-demand (no bulk ingestion), and only repos in the repos allowlist are reachable.
Attributes:
| Name | Type | Description |
|---|---|---|
enabled |
bool
|
Master switch. When |
repos |
list[str]
|
Allowlist of |
ref |
str
|
Default git ref/branch to read from ( |
base_url |
str
|
Overridable base URL for GitHub Enterprise. |
timeout |
float
|
Per-request HTTP timeout in seconds. |
Authentication reuses the direct_repo GitHub App credentials when
they are configured; without them only public repositories are reachable.
Source code in src/robotsix_chat/config/ref_doc_models.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | |
RenderUrlSettings
Bases: BaseModel
Read-only URL rendering with headless Chromium (Playwright).
When enabled, the agent gains a tool that loads a URL in a headless Chromium browser (via Playwright), takes a full-page screenshot, and extracts the ARIA accessibility tree — both returned as structured output. No interactive browsing, form-filling, or navigation beyond the initial page load is permitted.
Attributes:
| Name | Type | Description |
|---|---|---|
enabled |
bool
|
Master switch. When |
timeout |
float
|
Per-request timeout in seconds for the page load. |
viewport_width |
int
|
Browser viewport width in pixels. |
viewport_height |
int
|
Browser viewport height in pixels. |
Source code in src/robotsix_chat/config/render_url_models.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | |
RepoStudySettings
Bases: BaseModel
Temporary local repo workspaces the agent can fetch and study.
When enabled, the chat agent gains read-only tools to download a GitHub
repository snapshot (tarball — no git binary involved), extract it
into a temporary workspace under data_dir, and study it locally
(list / read / regex-search files) before dropping it. Workspaces are
transient: they are deleted on demand (drop_repo_workspace) and
swept automatically once older than ttl_minutes.
Authentication reuses the direct_repo GitHub App credentials when
they are configured (the app's installation scope defines the private
repos the agent may fetch); without them only public repositories are
reachable. No new credential fields are introduced.
Attributes:
| Name | Type | Description |
|---|---|---|
enabled |
bool
|
Master switch. When |
data_dir |
str
|
Directory holding the temporary workspaces. Default
|
ttl_minutes |
int
|
Age after which a workspace is deleted by the sweep that runs on every repo-study tool call. |
max_archive_bytes |
int
|
Maximum size of the downloaded tarball. |
max_extracted_bytes |
int
|
Maximum total uncompressed size of a workspace. |
max_read_bytes |
int
|
Maximum bytes returned by a single file read. |
timeout |
float
|
Per-request HTTP timeout in seconds for the download. |
Source code in src/robotsix_chat/config/storage_models.py
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | |
SelfReviewSettings
Bases: BaseModel
Self-review tool — a read-only digest of live conversation activity.
When enabled, the agent gains a read_recent_activity tool that
reads the in-process :class:~robotsix_chat.chat.conversation.ConversationStore
(short-lived per-client conversation turns) and returns a human-readable
multi-session digest. This is a deliberate, explicit, cross-client
snapshot — complementary to, but independent of, the long-term
episodic memory subsystem (src/robotsix_chat/memory/).
Default-disabled so behaviour is unchanged unless explicitly turned on.
Attributes:
| Name | Type | Description |
|---|---|---|
enabled |
bool
|
Master switch. When |
recent_activity_limit |
int
|
Maximum number of conversations returned by
the tool (clamps the caller's |
Source code in src/robotsix_chat/config/component_models.py
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | |
Settings
Bases: _SettingsLoaderMixin, BaseModel
Application settings, loaded from a single JSON config file.
The LLM is configured the robotsix-llmio way — pick a capability
model_level and llmio resolves the provider + model for that level
(from its baked default :class:~robotsix_llmio.config.TierLevelConfig).
Attributes:
| Name | Type | Description |
|---|---|---|
chat_default_model_level |
int
|
Capability level — |
openrouter_api_key |
SecretStr
|
OpenRouter API key, forwarded to llmio only for
keyed (OpenRouter) slot attempts; unused while the keyless
|
anthropic_api_key |
SecretStr
|
Anthropic API key, forwarded to llmio only for
slot attempts served by the direct Anthropic Messages API
transport (provider |
summary_model_level |
int
|
Capability level of the dedicated summariser
agent — the idle-timeout compaction summary, the carryover
summary and conversation titles. Defaults to |
llmio_failover_window_seconds |
float
|
How long llmio routes calls straight
to the fallback (OpenRouter) provider slot after the default
(Claude) slot fails repeatedly, before automatically returning
to the default. Default |
agent_instruction |
str
|
System instruction handed to the LLM agent as its base system prompt. The built-in default sets the assistant persona and its operating rules (knowledge-base usage, output formatting, and tool-use conventions). |
server_host |
str
|
Host address the chat SSE server binds to. |
server_port |
int
|
Port the chat SSE server listens on. |
idle_timeout_minutes |
int
|
Minutes of client-side inactivity before the
browser UI compacts the conversation — it starts a fresh session
while keeping earlier messages visible above; |
subsessions |
SubsessionsSettings
|
Unified subsession system (background/periodic/user-chat
sub-agents) — see :class: |
log_level |
str
|
Python logging level name. |
log_json_format |
bool
|
When |
cors_allow_origins |
list[str]
|
Exact origins ( |
correlation_id_header |
str
|
HTTP header name used for the correlation /
request-id (both inbound and outbound). Default |
langfuse |
LangfuseSettings
|
The component's canonical Langfuse credential block —
instance host plus every project it traces to, keyed by project
name ( |
openrouter |
OpenRouterSettings
|
The component's canonical OpenRouter credential block —
provider API keys keyed by the Langfuse project alias they bill
under ( |
langfuse_inspect |
LangfuseInspectSettings
|
Langfuse trace-inspection tool — lets the agent fetch and summarise recent implement traces for a given ticket or trace id. Default-disabled. |
feedback |
FeedbackSettings
|
Automated feedback analysis that files improvement tickets at compaction and session-end boundaries. |
max_images_per_message |
int
|
Maximum number of images a client may attach to
a single |
max_image_bytes |
int
|
Maximum decoded size (bytes) of a single attached
image. Default |
allowed_image_media_types |
list[str]
|
Media types accepted for image attachments.
Default |
vision_model |
str
|
OpenRouter model id used to caption attached images when the
active chat model lacks vision support. Empty string means 'vision
model unconfigured'. Default |
mobile_auth |
MobileAuthSettings
|
Mobile SSO authentication via tinyauth reverse proxy.
When enabled, exposes |
Source code in src/robotsix_chat/config/settings.py
103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 | |
SftpSettings
Bases: BaseModel
SFTP config-restore settings.
Provides credentials and connection parameters for the SFTP config-restore capability. When enabled, the agent gains tools to read, list, and (confirmation-gated) write files on a remote SFTP server — used to restore known-good configuration files when diagnostics detect they are missing.
Attributes:
| Name | Type | Description |
|---|---|---|
enabled |
bool
|
Master switch. When |
host |
str
|
SFTP server hostname or IP address. |
port |
int
|
SFTP server port (default 22). |
username |
str
|
SFTP username for authentication. |
password |
SecretStr
|
Password for password-based authentication. Leave empty when using key-based auth. |
private_key |
SecretStr
|
OpenSSH-format private key for key-based authentication. Leave empty when using password auth. |
private_key_passphrase |
SecretStr
|
Passphrase for private_key, if the key is encrypted. |
known_hosts |
str
|
OpenSSH-format known-hosts entries (one or more lines) for host key verification. When empty, host key verification is skipped (insecure — only suitable for isolated networks). |
remote_root |
str
|
Optional base directory on the remote server to
restrict all operations under (e.g. |
timeout |
float
|
SFTP connection and operation timeout in seconds. Caps how long a connection to a slow, unreachable, or malicious server may hang before failing. |
Source code in src/robotsix_chat/config/storage_models.py
127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 | |
SubsessionsSettings
Bases: BaseModel
Unified subsession system — background agents spawned from a chat.
A subsession is a background agent run (task, periodic, or
user_chat) spawned by the main chat agent — or, nested, by another
subsession — with its own model level chosen by task difficulty.
Attributes:
| Name | Type | Description |
|---|---|---|
max_concurrent |
int
|
Process-wide cap on simultaneously active
subsessions (all kinds, all depths).
Env override: |
max_concurrent_per_session |
int
|
Per-session cap on simultaneously
active subsessions owned by a single chat session. When a
session reaches this limit, new spawns are rejected even if
the global pool has room. Set to |
stale_reclaim_seconds |
float
|
When the global pool
( |
max_depth |
int
|
Maximum nesting depth. The main chat session is depth
0; its subsessions are depth 1. Agents at |
default_model_level |
int
|
llmio capability level used when the
spawning agent does not pick one explicitly (1 cheap/frequent,
2 workhorse, 3 frontier).
Env override: |
delegated_read_model_level |
int
|
llmio capability level used as the
default for children spawned (without an explicit
|
monitor_max_model_level |
int
|
Maximum model level for periodic and
wait_for_event monitor subsessions. Routine monitors
(ticket polling, periodic checks) are capped at this level
so they never burn workhorse or frontier capacity.
Default |
min_interval_seconds |
float
|
Minimum interval for |
auto_stop_no_change_runs |
int
|
A periodic subsession auto-closes after
this many consecutive |
max_idle_runs |
int
|
A periodic subsession auto-pauses (closes with
reason |
max_no_change_pauses |
int
|
A periodic monitor that repeatedly
auto-pauses (and is then auto-resumed) without the monitored
ticket ever changing state will auto-close with reason
|
human_approval_timeout_runs |
int
|
When a periodic subsession's checkpoint
indicates the monitored ticket is in |
human_approval_timeout_seconds |
float
|
Wall-clock backstop for the
|
auto_drive_promote_ready_drafts |
bool
|
Opt-in gate for the auto-drive
monitor's promotable-draft branch. When |
run_timeout_seconds |
float
|
Hard per-run timeout for a single subsession
agent turn (recall + LLM call + delivery). On expiry the run
is marked failed and the schedule continues instead of staying
|
max_run_timeout_seconds |
float
|
Upper bound (seconds) for a per-subsession
|
store_path |
str
|
JSON persistence file (periodic subsessions resume
across restarts). Env override: |
transcript_max_entries |
int
|
Per-subsession transcript retention cap.
Env override: |
mill_recovery_initial_backoff_seconds |
float
|
Initial backoff (seconds)
when a ticket monitor enters mill-recovery mode after
consecutive failures. Doubles on each retry up to
mill_recovery_max_backoff_seconds. Default |
mill_recovery_max_backoff_seconds |
float
|
Maximum backoff (seconds) for
mill-recovery retries. Default |
mill_recovery_max_retries |
int
|
Maximum number of recovery retries
before the subsession is permanently closed. Default |
periodic_max_interval_seconds |
float
|
Upper bound (seconds) for a
periodic subsession's self-adjusted interval. The
|
periodic_max_total_runs |
int
|
Upper bound for a periodic subsession's
self-adjusted |
user_chat_max_retries |
int
|
Maximum number of automatic retries for
|
transient_error_max_retries |
int
|
Maximum retry attempts when a
periodic subsession's agent turn fails with a transient API
error (e.g. upstream provider hiccup). Retries use
|
max_runs_escalation_threshold |
int
|
Number of consecutive times a
periodic subsession can hit its |
max_runs_progress_extension |
int
|
Number of additional runs granted
to a periodic subsession when it reaches its |
max_runs_progress_window |
int
|
Number of recent runs inspected for
progress when a periodic subsession reaches its |
monitor_slot_budget |
int
|
Maximum number of occupied monitor slots per
conversation (active + paused periodic subsessions). When a
conversation reaches this budget, new monitor requests first
try to reuse the least-recently-active paused monitor; if
none is paused the request is queued rather than evicting a
live monitor. Set to |
monitor_slot_queue_max |
int
|
Maximum pending monitor-spawn requests
queued per conversation when the slot budget is exhausted
and no paused monitor is available for reuse. A request
that would exceed this limit is rejected with a clear error.
Default |
turn_budget |
TurnBudgetSettings
|
Per-kind agent-turn budget (soft-warn + hard-stop
thresholds) that bounds a single subsession's turn count
before force-closing it with a partial-work summary. The
hard stop prevents a looping subagent from consuming
unbounded Claude subscription cap.
Defaults: |
Source code in src/robotsix_chat/config/session_models.py
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 | |
TurnBudgetSettings
Bases: BaseModel
Per-kind turn budgets for subsession agents.
Attributes:
| Name | Type | Description |
|---|---|---|
task |
KindTurnBudget
|
Budget for one-shot |
periodic |
KindTurnBudget
|
Budget for |
user_chat |
KindTurnBudget
|
Budget for |
on_close |
KindTurnBudget
|
Budget for |
Source code in src/robotsix_chat/config/session_models.py
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | |
VersionCheckSettings
Bases: BaseModel
Self-version-check tool: compare running version vs latest GitHub release.
Disabled by default. When enabled, the agent gains a tool that reports the
running robotsix_chat.__version__ and the latest published release of
the configured GitHub repo, and flags when the deployment is out of date.
Attributes:
| Name | Type | Description |
|---|---|---|
enabled |
bool
|
Master switch. When |
repo |
str
|
GitHub |
base_url |
str
|
Overridable base URL for GitHub Enterprise. |
timeout |
float
|
Per-request HTTP timeout in seconds. |
cache_ttl |
float
|
Seconds to cache the latest-release lookup (monotonic clock). |
Authentication reuses the direct_repo GitHub App credentials when
they are configured; without them the lookup is unauthenticated (subject
to lower rate limits).
Note: the check is only meaningful when releases bump
robotsix_chat.__version__ in lockstep with the GitHub release tag.
Source code in src/robotsix_chat/config/ref_doc_models.py
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | |
level_needs_api_key(level)
Whether level, as currently served, requires an api_key.
"Requires an api_key" means the OpenRouter key the UI gates keyed
levels on. Resolves against the provider slot the llmio failover tracker
currently designates as active — not needed while the direct Anthropic
or Claude SDK slot serves calls (the Anthropic slot cascades to the
keyless Claude SDK slot when its own key is missing), needed while
failover routes to OpenRouter. Unknown levels are treated as needing a
key (model_level is validated separately before this matters).
Source code in src/robotsix_chat/config/constants.py
161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 | |
slot_needs_api_key(tlc)
Whether the resolved slot binding tlc requires an api_key.
True for key-bearing providers (e.g. openrouter), False for the
keyless claudeSDK transport. Key need is a property of the provider
SLOT serving the call, not of the capability level: the same level is
keyless on the default (Claude) slot and keyed on the OpenRouter
fallback slot.
Source code in src/robotsix_chat/config/constants.py
149 150 151 152 153 154 155 156 157 158 | |