pwh-pwh / aiwechat-vercel

使用vercel的functions,将ai功能加入微信公众号
https://aiwechat-vercel.vercel.app
MIT License
721 stars 388 forks source link

请求支持更多自定义接口地址 #77

Open just22tu opened 1 week ago

just22tu commented 1 week ago

目前能否支持Gemini自定义接口地址?

Spark和Qwen自定义接口存在以下报错:

malformed ws or wss URL
Unmarshal response body failed,err:"Syntax error at index 1: invalid char\n\n\t<!doctype html>\n<html lang=\"en\">\n\t.^..............................\n"
pwh-pwh commented 1 week ago

只有gpt支持自定义接口,现在spark和qwen都支持openai协议了,故只需要把gpt模式的api改成spark或者qwen即可