Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

用worker部署search2gemini报错 #40

Open
kingstonefox opened this issue Jan 10, 2025 · 0 comments
Open

用worker部署search2gemini报错 #40

kingstonefox opened this issue Jan 10, 2025 · 0 comments

Comments

@kingstonefox
Copy link

kingstonefox commented Jan 10, 2025

按照教程使用worker部署search2gemini,相关的变量SEARCH_SERVICE、MAX_RESULTS、GOOGLE_KEY、GOOGLE_CX都在worker页面配置好,变量类型为纯文本。

用浏览器直接访问worker网址后显示:{"error":"Not found"}

用lobechat配置gemini的API代理地址后检查连通性,报错提示:
{
"error": {
"message": "[GoogleGenerativeAI Error]: Error fetching from https://search2ai.test.workers.dev/v1beta/models/gemini-1.5-flash-latest:streamGenerateContent?alt=sse: [404 ] undefined"
},
"provider": "google"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant