fix(singleagent): openapi message list field type (#775)

This commit is contained in:
junwen-lee
2025-08-15 16:11:26 +08:00
committed by GitHub
parent dfa9eb44e1
commit f040a511e4
2 changed files with 4 additions and 4 deletions

View File

@@ -197,11 +197,11 @@ struct OpenMessageApi {
2: i64 bot_id (api.js_conv='true') // agent id
3: string role // user / assistant/tool
4: string content //message content
5: i64 conversation_id //session id
5: i64 conversation_id (api.js_conv='true')//session id
6: map<string,string> meta_data // custom field
7: i64 created_at //creation time
8: i64 updated_at //update time
9: i64 chat_id // ID of a conversation
9: i64 chat_id (api.js_conv='true')// ID of a conversation
10: string content_type // Content type, text/mix
11: string type //Message Type answer/question/function_call/tool_response
12: string section_id // The section_id of conversation