mirror of
https://github.com/NCBM/plyngent.git
synced 2026-11-07 15:37:55 +08:00
test/config: cover model-level preset routing
This commit is contained in:
+2
-1
@@ -20,7 +20,8 @@
|
||||
- memory: Storage controlling for sessions and messages.
|
||||
- router: Multi-source capability routing (Phase H; not implemented).
|
||||
- config: Plyngent configuration center (TOML), including ``[plugins]`` and
|
||||
``[networking]`` (e.g. fetch SSRF Fake-IP CIDR exemptions).
|
||||
``[networking]`` (e.g. fetch SSRF Fake-IP CIDR exemptions). Model entries
|
||||
may override provider ``preset`` / ``url`` for mixed API routing.
|
||||
- agent: Tool loop, streaming, usage, compact; `@tool` / tags / registry.
|
||||
- tools: Workspace file/process/VCS/chat/todo/net tools; catalog; plugins;
|
||||
instance/session context and views.
|
||||
|
||||
@@ -87,6 +87,10 @@ access_key_or_token = "sk-replace-me"
|
||||
#
|
||||
# [providers.openai.models]
|
||||
# "gpt-4o-mini" = { text = true }
|
||||
# # Model-level preset/url overrides let one provider route models via different APIs.
|
||||
# # `preset = "openai"` means /responses; `openai-compatible` means /chat/completions;
|
||||
# # `anthropic` means native /messages (support planned).
|
||||
# # "claude-sonnet" = { text = true, preset = "anthropic", url = "https://api.anthropic.com/v1" }
|
||||
|
||||
# --- DeepSeek (OpenAI-compatible convention) ---
|
||||
# Default models if [providers.*.models] is omitted: deepseek-v4-flash, deepseek-v4-pro.
|
||||
|
||||
Reference in New Issue
Block a user