You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[DOCS] Document agent.skills.max_chars and system prompt injection changes #352
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: truemax_chars: 4000# 0 disables the cap
Updated cli.md and cli-skills.md to document agent.skills.max_chars (default 4000, 0 disables, env INFER_AGENT_SKILLS_MAX_CHARS) with names-only overflow behavior, line-boundary truncation of the memory index, and the date-only Current date: system prompt timestamp, and opened draft PR #359.
Activity
edenreich commentedon Jul 6, 2026
@infer Can you work on this?
inference-gateway-maintainer commentedon Jul 6, 2026
Model:
ollama_cloud/deepseek-v4-flash· View JobTodos
Pull Request
#359
✅ Infer Result: Success
Updated
cli.mdandcli-skills.mdto documentagent.skills.max_chars(default4000,0disables, envINFER_AGENT_SKILLS_MAX_CHARS) with names-only overflow behavior, line-boundary truncation of the memory index, and the date-onlyCurrent date:system prompt timestamp, and opened draft PR #359.Model:
ollama_cloud/deepseek-v4-flash· Exit Code:0· Duration: 4m 59sTokens: 4,320,415 in · 10,956 out · 4,331,371 total (42 requests)
Tool calls: 48 total · 100% success rate
Triggered by edenreich · Infer Action
inference-gateway-releaser commentedon Jul 9, 2026
🎉 This issue has been resolved in version 0.9.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀