Comments (6)
现象原因: 是因为你第一次发起请求失败了,之后你调整配置重启或重试服务,就会有这种现象。
解决方案:点一下小刷子(Clear),重新发起请求即可。
API要求和机器人有来有回的对话,如果第一次机器人没有回答,你重新发起第二次对话,相当于你说了两句话,机器人不知道该怎么回答。
from geminiprochat.
这个错误直接导致docker停止运行了,如何能跳过这个,避免docker崩溃
这是另外一个问题,建议重新开issue. 本项目作者 @babaohuang 已经在更新fuyun/generative-ai
版本了,实测 0.1.3 版本无此问题。 待主分支更新后,重新构建镜像即可。
from geminiprochat.
现象原因: 是因为你第一次发起请求失败了,之后你调整配置重启或重试服务,就会有这种现象。 解决方案:点一下小刷子(Clear),重新发起请求即可。
API要求和机器人有来有回的对话,如果第一次机器人没有回答,你重新发起第二次对话,相当于你说了两句话,机器人不知道该怎么回答。
Thanks
from geminiprochat.
这个错误直接导致docker停止运行了,如何能跳过这个,避免docker崩溃
from geminiprochat.
有的回复的中文有乱码
from geminiprochat.
You actually only need to append the AI'a answer to the messages list as well. as it says in the error, so that the model has the full history of human question and AI response
messages.append(human_question)
ai_response = llm(messages)
messages.append(ai_response)
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.