澄潭

Results 466 comments of 澄潭

@dpy013 你的docker-compose脱敏发一下吧

CODE环境变量去掉试试,可能是 chatgpt-next-web 的新镜像的问题

https://github.com/alibaba/higress/issues/1023 @dpy013 可以试试lobechat

> 你好报错了: { "cause": { "errno": -3001, "code": "EAI_AGAIN", "syscall": "getaddrinfo", "hostname": "higress" } } 定位到是新版本镜像的配置问题,你重新执行一下 docker pull higress-registry.cn-hangzhou.cr.aliyuncs.com/higress/all-in-one:1.4.0 ,再启动试试

@dpy013 进higress容器看下/var/log/higress/gateway.log

@dpy013 你是ARM处理器吗,刚刚支持了下多架构镜像,可以重新拉取一下镜像试试

@dpy013 给错日志了,docker exec -it ai-higress-1 bash 然后cat /var/log/higress/gateway.log

@dpy013 怀疑是配置文件没有权限写入,你按这个步骤试一下: ```bash # 创建一个工作目录,以及其下的配置目录 mkdir -p higress/data # 进入工作目录 cd higress ``` 在工作目录下创建这份 docker-compose.yaml: ```yaml version: '3.9' networks: higress-net: external: false services: higress: image: higress-registry.cn-hangzhou.cr.aliyuncs.com/higress/all-in-one:1.4.0 environment: - CONFIG_TEMPLATE=ai-proxy -...

@haifzhu 定位到是新版本镜像的配置问题,你重新执行一下 `docker pull higress-registry.cn-hangzhou.cr.aliyuncs.com/higress/all-in-one:1.4.0` ,再启动试试

参加[编程挑战赛](https://tianchi.aliyun.com/competition/entrance/532192/information)的朋友可以用这个issue里的方式做本地测试,给AI代理插件配上以下配置: ![image](https://github.com/alibaba/higress/assets/6763318/00aee0a4-1125-4d4d-a33c-9491b3a9de5d) ![image](https://github.com/alibaba/higress/assets/6763318/eb421b3f-eb4a-488a-9a64-1bfecaf6c8ae) ```yaml provider: apiTokens: - "你的Dashscope API Key" modelMapping: '*': "qwen-long" gpt-4: "qwen-max" gpt-4-turbo: "qwen-max" gpt-4o: "qwen-max" type: "qwen" qwenFileIds: # 比赛使用的文档,需要自己上传获取fileid,具体看赛事说明文档 - "file-fe-xxxxx" ``` 使用lobechat 对话的效果(注意选择gpt-3.5,才能映射到qwen-long): ![image](https://github.com/alibaba/higress/assets/6763318/f7ea1368-7df4-4cba-901d-491c04871940)