sigoden / aichat

AIChat is an all-in-one AI CLI tool featuring Chat-REPL, Shell Assistant, RAG, Function Calling, AI Agents, and More.
Apache License 2.0
3.3k stars 217 forks source link

please add coze api support #597

Closed binarytahr closed 3 weeks ago

binarytahr commented 3 weeks ago

Please confirm whether the following requirements are met:

Please provide the following documents or links:

coze can customize some low code agent and publish as api, here's a example of their api. i tried to use patches feature, but didn't work. and thanks for making this nice tool.

curl --location --request POST 'https://api.coze.com/open_api/v2/chat' \
--header 'Authorization: Bearer {{Personal_Access_Token}}' \
--header 'Content-Type: application/json' \
--header 'Accept: */*' \
--header 'Host: api.coze.com' \
--header 'Connection: keep-alive' \
--data-raw '{
    "conversation_id": "123",
    "bot_id": "{{Bot_Id}}",
    "user": "29032201862555",
    "query": "hello",
    "stream":false
}'
sigoden commented 3 weeks ago

Coze is not a standard LLM model and may have unknown problems when used with aichat. For example, the bot has its own prompt which conflicts with the prompt injected by aichat.

We will not support this feature.

binarytahr commented 3 weeks ago

Coze is not a standard LLM model and may have unknown problems when used with aichat. For example, the bot has its own prompt which conflicts with the prompt injected by aichat.

We will not support this feature.

thanks for your explanation