能否支持gpt4-vision?
hjy2000 opened this issue · comments
Oliver Hou commented
目前调用vision会报错,应该是图片转base64后json格式有问题没支持上
{"error":{"code":"json: cannot unmarshal array into Go struct field api_message.messages.content of type string","message":"Request must be proper JSON","param":null,"type":"invalid_request_error"}}
xiaofei commented
你加har了?
learnLi commented
目前调用vision会报错,应该是图片转base64后json格式有问题没支持上
{"error":{"code":"json: cannot unmarshal array into Go struct field api_message.messages.content of type string","message":"Request must be proper JSON","param":null,"type":"invalid_request_error"}}
请求的结构体错误了