v26

latestOpenAPI 3.1.0raw.githubusercontent.com2026-01-285194311.8 KB
chat
NOT_USED

【目前还未完成】返回与指定 Agent 聊天的下一条消息

可以处理包括图片在内的各种消息类型,媒体类型应该先上传,然后将 URL 作为索引发送到此 API

post/api/v2/chat/completions/{agent_id}

Path parameters

agent_idstring required

Request body

streamboolean
modelstring
languagestring
request_idstring nullable
message_idstring nullable

Response

Successful Response

codeinteger
messagestring
{"stackTrail":"components:schemas:APIResponse:properties:data:anyOf","oasType":"schema","type":"unknown","title":"Data","nullable":true}