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