Skip to content

[DOCS] Document agent.skills.max_chars and system prompt injection changes #352

Description

@edenreich

Summary

inference-gateway/cli#761 adds a new user-facing config key, agent.skills.max_chars, and changes two system-prompt behaviors. The CLI configuration reference needs to cover them.

What changed:

  • New key agent.skills.max_chars (default 4000, 0 disables, env INFER_AGENT_SKILLS_MAX_CHARS): caps the rendered AVAILABLE SKILLS block in the agent system prompt. Skills past the budget are listed by name only (never a truncated description) and remain invocable via /<name>.
  • The injected memory index (memory.max_chars) now truncates at a line boundary instead of mid-entry.
  • The system prompt now carries a date-only Current date: line instead of a minute-resolution timestamp, so provider prompt-prefix caching survives across turns.

Example config:

agent:
  skills:
    enabled: true
    max_chars: 4000 # 0 disables the cap

Source PR: inference-gateway/cli#761

Acceptance Criteria

  • agent.skills.max_chars documented in the CLI configuration reference (default, 0 semantics, INFER_AGENT_SKILLS_MAX_CHARS env override)
  • Skills documentation notes the names-only overflow behavior and that capped skills stay invocable via /<name>
  • Memory documentation reflects line-boundary truncation of the injected index; system-prompt docs mention the date-only timestamp

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationreleased

    Type

    Fields

    No fields configured for Task.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions