WrenAI icon indicating copy to clipboard operation
WrenAI copied to clipboard

litellm.BadRequestError: DeepseekException

Open wuhq7 opened this issue 10 months ago • 3 comments

An error occurred during question recommendation generation: litellm.BadRequestError: DeepseekException - Failed to deserialize the JSON body into the target type: response_format: response_format.type json_schema is unavailable now at line 1 column 16335

config.txt

wrenai-wren-ai-service-1 log.txt

wuhq7 avatar Feb 12 '25 02:02 wuhq7

@wuhq7 please check this config example for deepseek

https://github.com/Canner/WrenAI/blob/main/wren-ai-service/docs/config_examples/config.deepseek.yaml

cyyeh avatar Feb 12 '25 02:02 cyyeh

@wuhq7 please check this config example for deepseek

https://github.com/Canner/WrenAI/blob/main/wren-ai-service/docs/config_examples/config.deepseek.yaml

Image

Initially I followed this config.deepseek.yaml example, then I followed the latest version of yaml you posted

wuhq7 avatar Feb 12 '25 03:02 wuhq7

@wuhq7 please check this config example for deepseek https://github.com/Canner/WrenAI/blob/main/wren-ai-service/docs/config_examples/config.deepseek.yaml

Image

Initially I followed this config.deepseek.yaml example, then I followed the latest version of yaml you posted

The latest version of config.example.yaml is only used for making sure pipe definitions are the latest. llm, embedding model definitions please follow deepseek config

cyyeh avatar Feb 12 '25 03:02 cyyeh