Skip to content

docs: update agent config reference, custom provider api_type, and slash command behavior#2999

Merged
dgageot merged 4 commits into
mainfrom
docs/auto-update
Jun 4, 2026
Merged

docs: update agent config reference, custom provider api_type, and slash command behavior#2999
dgageot merged 4 commits into
mainfrom
docs/auto-update

Conversation

@aheritier

Copy link
Copy Markdown
Contributor

Documentation updates for recently merged features

This PR brings the /docs content in sync with three features merged into main.

Changes

Commit Source PR What changed
67170bb #2971 Add use_commands/use_skills to agent reference; fix broken example link
06b3dac #2985 Document api_type auto-detection for custom OpenAI providers
372ef2a #2979 Clarify that named slash commands execute immediately, not queued

Details

docs/configuration/agents/index.md — Adds use_commands and use_skills to the Full Schema YAML example and Properties Reference table (from #2971). Also adds a note that named slash commands execute immediately (from #2979).

docs/configuration/overview/index.md — Fixes broken link pointing to wrong repo (cagentdocker-agent) in the shared skills/commands example (from #2971).

docs/providers/custom/index.md — Updates api_type default from hardcoded openai_chatcompletions to auto (model-dependent) and documents the auto-detection logic for newer OpenAI models (from #2985).

docs/features/tui/index.md — Adds note about immediate slash command execution vs queued chat messages (from #2979).

aheritier added 3 commits June 4, 2026 04:08
Adds `use_commands` and `use_skills` to the agent properties reference
and full schema YAML example in docs/configuration/agents/index.md.
These agent-level fields were introduced by #2971 but were missing from
the agent reference doc.

Also fixes a broken example link in docs/configuration/overview/index.md
that pointed to the wrong repo (cagent instead of docker-agent).

Source PR: #2971
Updates docs/providers/custom/index.md to reflect that `api_type` is
now auto-detected based on the model name for custom OpenAI-compatible
providers. Newer models (gpt-4.1, o-series, gpt-5, Codex) default to
`openai_responses`; others default to `openai_chatcompletions`.

Previously the docs showed a hardcoded default of `openai_chatcompletions`
which was incorrect post-merge.

Source PR: #2985
Documents the fix from #2979: named slash commands now bypass the
message queue and execute immediately, even while the agent is busy.

Updated docs/configuration/agents/index.md (Named Commands section)
and docs/features/tui/index.md (slash command usage) to clarify the
distinction between immediate commands and queued chat messages.

Source PR: #2979
@aheritier aheritier requested a review from a team as a code owner June 4, 2026 04:10
@aheritier aheritier added the kind/docs Documentation-only changes label Jun 4, 2026

@docker-agent docker-agent left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assessment: 🟢 APPROVE

Documentation changes are accurate and internally consistent. The broken link fix ( → ) is correct, use_commands/use_skills are properly documented in both the YAML schema example and the properties table, and the api_type auto-detection is clearly described in docs/providers/custom/index.md. One minor wording inconsistency was found between the two slash command behavior notes (see inline comment).

Comment thread docs/configuration/agents/index.md Outdated

Define reusable prompt shortcuts that can send prompts to the current agent or switch to a different sub-agent:

> **Note:** Named slash commands execute immediately, even while the agent is processing another message. Unlike regular chat messages (which are queued), slash commands interrupt the current operation and run right away.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[LOW] Minor wording inconsistency in slash command behavior notes

Two + lines added in this PR describe the same feature with slightly different language:

  • docs/configuration/agents/index.md (line 267): "slash commands interrupt the current operation and run right away"
  • docs/features/tui/index.md (added): "you can invoke a slash command to interrupt or direct the agent even while it is mid-response"

The agents doc implies the current operation is always interrupted/stopped, while the TUI doc is more nuanced ("interrupt or direct"). Readers consulting both pages may be confused about whether the current operation is always cancelled or can be redirected without cancellation.

Consider aligning the phrasing. For example, using "interrupt or direct the agent" in both places would be more consistent.

Resolves minor inconsistency flagged in PR review: both notes now
use 'interrupt or direct the agent' rather than 'interrupt the
current operation', which is more accurate and consistent.

Source PR: #2979
@aheritier aheritier added area/config For configuration parsing, YAML, environment variables area/providers For features/issues/fixes related to LLM providers (Bedrock, LiteLLM, Qwen, custom, etc.) area/skills Skills system and custom slash commands area/tui For features/issues/fixes related to the TUI labels Jun 4, 2026
@dgageot dgageot merged commit 5d2c6be into main Jun 4, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/config For configuration parsing, YAML, environment variables area/providers For features/issues/fixes related to LLM providers (Bedrock, LiteLLM, Qwen, custom, etc.) area/skills Skills system and custom slash commands area/tui For features/issues/fixes related to the TUI kind/docs Documentation-only changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants