Docs sync: align OPENAPI contracts with NODE1 runtime

This commit is contained in:
Apple
2026-02-18 05:58:54 -08:00
committed by Codex
parent b9f83a5006
commit 963813607b

View File

@@ -20,17 +20,17 @@ Gateway (BFF) ──────► Router ──────► Memory API
Request: Request:
```json ```json
{ {
"messages": [ "prompt": "...",
{"role": "user", "content": "..."} "model": "optional-model-override",
],
"system_prompt": "optional override", "system_prompt": "optional override",
"temperature": 0.3, "temperature": 0.3,
"max_tokens": 4000, "max_tokens": 700,
"tools": ["web_search", "memory_search"], "images": ["data:image/png;base64,<...>"],
"metadata": { "metadata": {
"user_id": "tg:123456", "user_id": "tg:123456",
"chat_id": "-5289219705", "chat_id": "-5289219705",
"trace_id": "uuid" "trace_id": "uuid",
"agent_id": "helion"
} }
} }
``` ```
@@ -38,13 +38,14 @@ Request:
Response: Response:
```json ```json
{ {
"agent_id": "helion", "response": "...",
"content": "...",
"model": "deepseek-chat", "model": "deepseek-chat",
"backend": "deepseek-cloud", "backend": "deepseek-cloud",
"tokens_used": 1234, "tokens_used": 1234,
"tools_called": ["memory_search"], "image_base64": null,
"trace_id": "uuid" "file_base64": null,
"file_name": null,
"file_mime": null
} }
``` ```