mirror of
https://github.com/tiennm99/goclaw.git
synced 2026-10-13 18:15:34 +00:00
- Add config.get, skills.list WS contract tests - Add /v1/providers HTTP contract test - Add JSON schemas for ws_connect, ws_chat_send, http_chat_completions - Document breaking change policy
12 lines
338 B
JSON
12 lines
338 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "WS chat.send response",
|
|
"type": "object",
|
|
"required": ["message_id", "content", "role"],
|
|
"properties": {
|
|
"message_id": { "type": "string" },
|
|
"content": { "type": "string" },
|
|
"role": { "type": "string", "enum": ["assistant", "user", "system"] }
|
|
}
|
|
}
|