Comments (16)
你是不是使用docker方式部署的?
from geminiprochat.
我用docker部署的也是这样 乱码
from geminiprochat.
你是不是使用docker方式部署的?
没错,用docker 方式部署的,是啥问题导致的,能解决吗?
from geminiprochat.
centos7 只能用docker部署...
自己试了下,添加字体,基础镜像替换成debian都有乱码,看样子是需要在代码找问题了
from geminiprochat.
我本地跑的时候也有乱码,但原因我找不到。
from geminiprochat.
乱码的问题,目前的判断是都是在流式响应的相邻两个块之间产生的
from geminiprochat.
我本地跑的时候也有乱码,但原因我找不到。
确实 我在本地测试也有乱码
from geminiprochat.
问题可能出在这个@fuyun/generative-ai包上
你为啥要用@fuyun/generative-ai这个包,而不用官方的包呢?
在我替换使用官方的包以后,问题貌似解决了。要不就是包的版本问题一个是0.1.1一个是0.1.3,可能0.1.1就是有乱码问题。
from geminiprochat.
刚试了下,谷歌0.1.1的包也有乱码问题。 0.1.3试了好几次都没有乱码问题。
from geminiprochat.
包替换成0.1.3版本后 确实好了
from geminiprochat.
问题可能出在这个@fuyun/generative-ai包上
你为啥要用@fuyun/generative-ai这个包,而不用官方的包呢?
在我替换使用官方的包以后,问题貌似解决了。要不就是包的版本问题一个是0.1.1一个是0.1.3,可能0.1.1就是有乱码问题。
因为@fuyun/generative-ai这个包做了改动,支持加入自定义baseURL
from geminiprochat.
包替换成0.1.3版本后 确实好了
刚才更新@fuyun/generative-ai 0.1.3 ,乱码问题确实消失了,舒服了!😄
from geminiprochat.
包替换成0.1.3版本后确实好了
刚才更新@fuyun/generative-ai 0.1.3 ,乱码问题确实消失了,舒适了!😄
没合并? 刚在docker部署的还是有乱码 emm
from geminiprochat.
包替换成0.1.3版本后 确实好了
刚才更新@fuyun/generative-ai 0.1.3 ,乱码问题确实消失了,舒服了!😄
Nice, 啥时候重新Build一下Image,更新一下Docker Image。 谢谢~
from geminiprochat.
问题可能出在这个@fuyun/generative-ai包上
你为啥要用@fuyun/generative-ai这个包,而不用官方的包呢?
在我替换使用官方的包以后,问题貌似解决了。要不就是包的版本问题一个是0.1.1一个是0.1.3,可能0.1.1就是有乱码问题。
为啥要用fuyun的包,是因为官方的包不能自定义endpoint,那么你必须要想办法突破地区限制。
from geminiprochat.
更新部署还是有乱码,查看源码好是使用了@fuyun/generative-ai 0.1.3的包,我还是要代换成google的包才能解决吗?
from geminiprochat.
Related Issues (20)
- 回复出现错误 HOT 2
- GoogleGenerativeAIError: [405 Method Not Allowed]
- API key not valid. Please pass a valid API key。 HOT 2
- 为什么我部署了之后就可以直接聊天了?我的apikey都还没添加呢。 HOT 1
- 电脑本地运行报错:[GoogleGenerativeAI Error]: Error fetching from [404 Not Found] HOT 3
- 最新的创建的本地docker+Vercel回报405 Method NOT Allowed HOT 1
- vercel部署添加自定义域名出现重定向无法打开,vercel分配的域名正常,请问是哪里的问题 HOT 6
- Netlify部署失败,显示网站不安全
- Send button not working when submitting request on my fork. HOT 2
- gemini大模型 – google gemini中文官网
- 使用vercel和VPS的docker均报错 HOT 5
- 用美国VPS部署项目,但网页无法访问,提示SyntaxError: Unexpected identifier HOT 1
- 啥时候 能把图片上传的部分,给补上?
- 还在维护吗?
- 用最新pnpm組件self-deploying發生錯誤 HOT 2
- [Docker] User location is not supported for the API use. HOT 3
- 部署在Render上,dockerfile会报错,我已经修复,
- Gemini Pro API 收费会对本项目有影响吗 HOT 1
- how to config the chosen model? HOT 1
- Stream Mode needed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geminiprochat.