Replies: 3 comments
-
|
The DeepSeek api is not 100% OpenAI compatible. Can you try using a proxy server to ensure the compatibility? |
Beta Was this translation helpful? Give feedback.
-
yes,you are right. I build a proxy server for the conversion between OpenAI and DeepSeek. It works. So is there any plan to support DeepSeek built in agent-framework? DeepSeek is awesome |
Beta Was this translation helpful? Give feedback.
-
The delta between the API surfaces is quite small so it is a high possibility that they will converge in the future. There is already proxy server exists for now. So I don't see a clear urgency to support it built-in right now. Users can also use DeepSeek model directly from Azure AI hosted models instead of going to the DeepSeek hosted endpoint. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to create an agent support multi-turn conversations using python agent-framework;
Python Version
3.11
LLM
DeepSeek
Requirements
agent_framework
Code
The code is simple,here it is:
however,it always fails with the message
agent_framework.exceptions.ServiceResponseException: <class 'agent_framework.openai._chat_client.OpenAIChatClient'> service failed to complete the prompt: Error code: 400 - {'error': {'message': 'Failed to deserialize the JSON body into the target type: messages[3]: invalid type: sequence, expected a string at line 1 column 404', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_request_error'}}So how can I fix it
Beta Was this translation helpful? Give feedback.
All reactions