babaohuang / geminiprochat Goto Github PK
View Code? Open in Web Editor NEWMinimal web UI for GeminiPro.
Home Page: https://geminiprochat.com
License: MIT License
Minimal web UI for GeminiPro.
Home Page: https://geminiprochat.com
License: MIT License
增加会话历史记录
No response
希望增加选择模型、调整Temperature等参数的入口
No response
display math equotion use mathjax or katex
No response
Mac
Chrome
自己用Vercel部署了一套,然后映射到自己的域名上去了,但是用的时候必须挂vpn,不然提示「User location is not supported for the API use.」请问需要怎么处理
No response
No response
Add support for Gemini Pro Vision.
No response
this project is plagiarism you took https://chatgpt.ddiu.me/ & https://github.com/anse-app/chatgpt-demo and just changed a couple of words in the html? even the github issues in this repo lead to https://github.com/anse-app/chatgpt-demo/discussions
you can't even say you're within the bounds of the MIT license because you removed mentions to it and added a GPL instead..?
Docker
首先感谢您开源这么好的项目,我是通过docker进行部署在位于西雅图的服务器(commit:[cb84f4a]),但使用您的服务并没有发现类似情况,怀疑是不是跟地区有关或者git并不是最新代码
使用英文对答并不会出现这种情况,只有中文存在。这是地址:https://test.lass.cc/
如何使用,提供说明文档
No response
Windows
Chrome
回复当前时间不对(部署在vercel)
what's the time now
目前时间是:2023年3月8日 星期三 下午9:38:08 CST
No response
Node
[+] Building 0.1s (2/2) FINISHED docker:default
=> [geminiprochat internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 2B 0.0s
=> [geminiprochat internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
failed to solve: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount3775294946/Dockerfile: no such file or directory
No response
Docker
I deploy it in my cloudcone VPS , and it does not work
Server listening on http://0.0.0.0:3000
Error: [GoogleGenerativeAI Error]: Text not available. Response was blocked due to SAFETY
at response.text (file:///usr/src/node_modules/.pnpm/@fuyun[email protected]/node_modules/@fuyun/generative-ai/dist/index.mjs:259:19)
at Object.start (file:///usr/src/dist/server/chunks/pages/generate.ts.2a0d54ba.mjs:45:34)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
sendMessageStream() was unsuccessful. Response was blocked due to SAFETY. Inspect response object for details.
Docker
使用 docker build . 创建镜像以后
使用 docker run --rm --name gemini_pro_chat -p 3030:3000 -e GEMINI_API_KEY="" -e HTTPS_PROXY="" gemini_pro_chat
命令进行 container 创建, 然后报错了
Starting service...
Running script...
node:internal/modules/esm/resolve:853
throw new ERR_MODULE_NOT_FOUND(packageName, fileURLToPath(base), null);
^
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'send' imported from /usr/src/dist/server/entry.mjs
at packageResolve (node:internal/modules/esm/resolve:853:9)
at moduleResolve (node:internal/modules/esm/resolve:910:20)
at defaultResolve (node:internal/modules/esm/resolve:1130:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:396:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:365:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:240:38)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:85:39)
at link (node:internal/modules/esm/module_job:84:36) {
code: 'ERR_MODULE_NOT_FOUND'
}
Node.js v21.4.0
No response
多模态输入支撑 希望大佬开发图片视频上传功能。
No response
RT
No response
I am writing to request password or username protection for the application.
I am concerned about the security of my personal information and would like to ensure that my data/API key is protected from unauthorized access.
Thank you for your attention to this matter.
No response
win
谷歌
Error
[GoogleGenerativeAI Error]: Error fetching from fetch failed
聊天后报错闪退 Error
[GoogleGenerativeAI Error]: Error fetching from fetch failed
闪退
Node
我获取了Gemini api,但是我问他问题的时候,他说他是阿里巴巴训练的模型
No response
Vercel
VERCEL使用代理部署时出现:
404 This page could not be found.
No response
Want to use sock5 proxy instead of https proxy
Want to use sock5 proxy instead of https proxy
求教如何部署https
No response
Linux - Docker
Chrome
When I put "HTTPS_PROXY=socks5://192.168.0.1:28081" in both docker commandline and .env, the proxy won't take any action. It doesn't work
Default
No response
Vercel
N/A
Mac
Chrome
蛮奇怪的
你是谁开发的
No response
Vercel
部署到Vercel后,打开提示User location not supported for the API use.
No response
https://vercel.com/docs/functions/configuring-functions/region
For Edge Functions:
preferredRegions
or specify a regions
key within a config object to set one or more regions for you functions to execute inNo response
Windows
Chrome
没有布置plam-proxy时,部署成功,但是显示 "User location is not supported for the API use"。
于是我按照Note部署了palm-proxy,重新部署,出现了新的出错提示:
Error
[GoogleGenerativeAI Error]: Error fetching from palm-proxy-gemini-silk.vercel.app/v1/models/gemini-pro:streamGenerateContent?alt=sse: Invalid URL string.
能否请教或者提示一下,我该如何解决这个问题?谢谢了。
palm-proxy部署显示成功后,vercel中网页缩略图显示的404……
No response
Node
建议改为服务端请求googleapis.com,这样服务器上统一配置代理,客户端不过墙也能访问。
No response
GeminiProChat
一样。 如果有更好IDEA建议发起PR。No response
Windows
chrome
请教!
No response
astro v2.7.0 started in 445ms
┃ Local http://localhost:3000/
┃ Network use --host to expose
TypeError: fetch failed
at Object.fetch (node:internal/deps/undici/undici:11730:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async makeRequest (file:///F:/%E5%B9%BC%E5%B8%88%E5%AE%9D%E7%BD%91%E9%A1%B5%E7%89%88/GeminiProChat/node_modules/.pnpm/@fuyun[email protected]/node_modules/@fuyun/generative-ai/dist/index.mjs:184:20)
at async generateContentStream (file:///F:/%E5%B9%BC%E5%B8%88%E5%AE%9D%E7%BD%91%E9%A1%B5%E7%89%88/GeminiProChat/node_modules/.pnpm/@fuyun[email protected]/node_modules/@fuyun/generative-ai/dist/index.mjs:503:22)
node:internal/process/promises:289
triggerUncaughtException(err, true /* fromPromise */);
^
TypeError: fetch failed
at Object.fetch (node:internal/deps/undici/undici:11730:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async makeRequest (file:///F:/%E5%B9%BC%E5%B8%88%E5%AE%9D%E7%BD%91%E9%A1%B5%E7%89%88/GeminiProChat/node_modules/.pnpm/@fuyun[email protected]/node_modules/@fuyun/generative-ai/dist/index.mjs:184:20)
at async generateContentStream (file:///F:/%E5%B9%BC%E5%B8%88%E5%AE%9D%E7%BD%91%E9%A1%B5%E7%89%88/GeminiProChat/node_modules/.pnpm/@fuyun[email protected]/node_modules/@fuyun/generative-ai/dist/index.mjs:503:22)
Node.js v20.10.0
ELIFECYCLE Command failed with exit code 1.
windows
chrome
请教大佬,我在vps docker 以及vercel中都部署了, 我总是试图通过自己的域名访问,但是在使用自己的域名访问中都出现send按钮无法点击发送,但是使用ip地址或者是使用vercel提供的域名都能访问并使用send按钮发送获得回复,这是什么问题呢?
No response
No response
Support using Cloudflare workers instead of Vercel
No response
pro vision
No response
Is it possible to add Netlify deployment method
No response
win11
chrome
聊天出现“Error Please ensure that multiturn requests ends with a user role or a function response.”
No response
No response
windows
chrome
我用的是Nginx代理,API_BASE_URL配置了我的Nginx地址,每次只能返回部分内容,不知啥原因?
我直接用python的request调用Nginx地址是能正常完整返回内容的。
No response
No response
Linux
Chrome
我使用vercel 创建好之后,使用会提示:
然后我在自己的仓库里,新建了一个文件.env
,在里面写:User location is not supported for the API use.
API_BASE_URL=https://google-genmini-pro.vercel.app/
然后回到 vercel ,发现它自己重新构建了,构建完成后,仍然提示:User location is not supported for the API use.
No response
No response
Linux
Chrome
配置文件.env设置了代理http://127.0.0.1:10809,但是无法使用
Server listening on http://0.0.0.0:3000
Error: [GoogleGenerativeAI Error]: Text not available. Response was blocked due to SAFETY
at response.text (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@google/generative-ai/dist/index.mjs:250:19)
at Object.start (file:///usr/src/dist/server/chunks/pages/generate.ts.06be4226.mjs:76:36)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
sendMessageStream() was unsuccessful. Response was blocked due to SAFETY. Inspect response object for details.
Error: [GoogleGenerativeAI Error]: Text not available. Response was blocked due to SAFETY
at response.text (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@google/generative-ai/dist/index.mjs:250:19)
at Object.start (file:///usr/src/dist/server/chunks/pages/generate.ts.06be4226.mjs:76:36)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
sendMessageStream() was unsuccessful. Response was blocked due to SAFETY. Inspect response object for details.
No response
No response
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.