{
"agent_info": {
"key": {}
},
"model": "string",
"messages": [
{
"role": "string",
"content": "string"
}
],
"stream": true
}curl --location --request POST 'http://test-apisix.taolihanyu.net/taoli/apusic/v1/chat//completions' \
--header 'Authorization;' \
--header 'Authorization: bearer {{access_token}}' \
--header 'payload: {'\''mid'\'':{{mid}},'\''username'\'':{{username}},'\''userType'\'':,'\''campusId'\'':}' \
--header 'a-version: 4.14.0' \
--header 'a-language: zh' \
--header 'ostype: ios' \
--header 'Content-Type: application/json' \
--data-raw '{
"agent_info": {
"key": {}
},
"model": "string",
"messages": [
{
"role": "string",
"content": "string"
}
],
"stream": true
}'[
{
"mark": 0,
"position": 0,
"limit": 0,
"capacity": 0,
"address": 0,
"hb": [
0
],
"offset": 0,
"isReadOnly": false,
"bigEndian": false,
"nativeByteOrder": false
}
]