通过http请求指令,调用AI接口,响应一直有问题,感觉是入参的格式问题,但不知道怎么解决,求助大佬们。
具体流程如下:
运行后的响应信息:
xbot_visual_web_service_rest_response(status_code=400, content_type='application/json', content_encoding='', content='{"error":{"message":"JSON parse error: Unexpected character (\'\'\' (code 39)): was expecting double-quote to start field name; nested exception is com.fasterxml.jackson.databind.JsonMappingException: Unexpected character (\'\'\' (code 39)): was expecting double-quote to start field name\\n at [Source: (org.springframework.util.StreamUtils$NonClosingInputStream); line: 6, column: 28] (through reference chain: com.wd.paas.api.domain.v4.chat.ChatCompletionRequest[\\"messages\\"]->java.util.ArrayList[0]->com.wd.paas.api.domain.v4.chat.ChatMessage[\\"content\\"])","code":"400"}}')

在Python中调用是正常的,不知道在影刀应该怎么办。影刀里导入不了这个AI的第三方库。
