curl --request POST \
--url https://app.codealive.ai/api/chat/completions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"messages": [
{
"role": "user",
"content": "What are the key features of CodeAlive?"
}
],
"stream": true,
"dataSources": [
{
"id": "repository456"
}
],
"names": [
"MyWorkspace",
"my-repository"
],
"consumerType": "ApiChat",
"debug": false
}
'