Bug:即使chat2db:latest的Docker容器成功运行,OpenAI也无法工作,

0md85ypi  于 5个月前  发布在  Docker
关注(0)|答案(2)|浏览(99)

Chat2DB版本

3.1.19

描述bug

在docker中出现问题

应用也起作用

2024-01-22 08:09:34.512  INFO 1 --- [io-10824-exec-6] a.c.server.web.start.log.EasyLogSink    .69 : 4a1581adac814bb18d31313428aab606 | http : GET|/api/config/system_config/ai|61||*"su*ces*":t*ue,*err*rCo*e":*ull*"er*orM*ssa*e":*ull*"er*orD*tai*":n*ll,*sol*tio*Lin*":n*ll,*dat*":{*api*ey"*"sk*z0Z*3Nj*vO5*DmG*EZR*T3B*bkF*sZM*Rqx*NXq*qKS*teE*","*ecr*tKe*":"*,"a*iHo*t":*","*ttp*rox*Hos*":"*,"h*tpP*oxy*ort*:""*"ai*qlS*urc*":"*PEN*I",*str*am"*tru*,"m*del*:""*,"t*ace*d":*ull*

但是当我成功创建ClickHouse数据源后,我无法将任何文本转换为sql,什么都没有发生

2024-01-22 08:12:59.019  INFO 1 --- [io-10824-exec-2] a.c.s.w.s.c.c.Chat2dbWebMvcConfigurer   .141 : 4165791ae9ed47f6a52134d38bb43888 | 访问host:127.0.0.1:10824,connection:keep-alive,sec-ch-ua:"Not?A_Brand";v="8", "Chromium";v="108",accept:text/event-stream,uid:b4c51db9-3356-4596-ac67-58a8f41854bd,dbhub:null,sec-ch-ua-mobile:?0,user-agent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) chat2db/3.1.19 Chrome/108.0.5359.215 Electron/22.3.27 Safari/537.36,sec-ch-ua-platform:"Windows",sec-fetch-site:cross-site,sec-fetch-mode:cors,sec-fetch-dest:empty,accept-encoding:gzip, deflate, br,accept-language:en-US,,http://127.0.0.1:10824/api/ai/chat需要登录
2024-01-22 08:12:59.022  INFO 1 --- [io-10824-exec-2] a.c.server.web.start.log.EasyLogSink    .69 : 4165791ae9ed47f6a52134d38bb43888 | http : GET|/api/ai/chat?message=show+top+commenters+in+2023+and+2024+from+github_events+table&promptType=NL_2_SQL&dataSourceId=2|4||null:[166]

我做错了什么?

i2loujxw

i2loujxw1#

@miahemu,您能分享一下修复了bug的版本号或提交吗?

u3r8eeie

u3r8eeie2#

@miahemu 你能分享一下修复bug的版本号或提交吗?
抱歉,我们已经解决了自定义AI无法使用的问题。你说的是OpenAI。我犯了个错误。

相关问题