[GH-ISSUE #1082] [BUG]: Error fetching from gemini #669

Closed
opened 2026-02-22 18:20:44 -05:00 by yindo · 4 comments
Owner

Originally created by @wwjCMP on GitHub (Apr 10, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1082

How are you running AnythingLLM?

AnythingLLM desktop app

What happened?

Snipaste_2024-04-11_10-10-04

Are there known steps to reproduce?

No document,just talk
Snipaste_2024-04-11_10-12-10

Originally created by @wwjCMP on GitHub (Apr 10, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1082 ### How are you running AnythingLLM? AnythingLLM desktop app ### What happened? ![Snipaste_2024-04-11_10-10-04](https://github.com/Mintplex-Labs/anything-llm/assets/32979859/97ebb6be-436b-407f-8202-d06e6baf2864) ### Are there known steps to reproduce? No document,just talk ![Snipaste_2024-04-11_10-12-10](https://github.com/Mintplex-Labs/anything-llm/assets/32979859/34686052-6a03-4b9d-97a5-82d4b593e4f8)
yindo added the Integration Requestneeds info / can't replicate labels 2026-02-22 18:20:44 -05:00
yindo closed this issue 2026-02-22 18:20:45 -05:00
Author
Owner

@timothycarambat commented on GitHub (Apr 14, 2024):

Unfortunately, I do not think you can use Google's models via API service (I am assuming you are based in a Mandarin-speaking country from the prompt) since their API is restricted to specific countries at this time.

Google docs: https://support.google.com/gemini/answer/13575153?hl=en#

Is this the case for you? If not, then there very well may be a bug, but i am currently unable to replicate with a valid Gemini key.

https://github.com/google/generative-ai-js/issues/29

@timothycarambat commented on GitHub (Apr 14, 2024): Unfortunately, I do not think you can use Google's models via API service (I am assuming you are based in a Mandarin-speaking country from the prompt) since their API is restricted to specific countries at this time. Google docs: https://support.google.com/gemini/answer/13575153?hl=en# Is this the case for you? If not, then there very well may be a bug, but i am currently unable to replicate with a valid Gemini key. https://github.com/google/generative-ai-js/issues/29
Author
Owner

@wwjCMP commented on GitHub (Apr 14, 2024):

I'm not sure what the reason is, but there are two points. First, I can correctly use gemini-1.0-pro in any other service. Second, I have issues with the local ollama service; anythingllm cannot pull the local model, so I cannot select the model.

@wwjCMP commented on GitHub (Apr 14, 2024): I'm not sure what the reason is, but there are two points. First, I can correctly use gemini-1.0-pro in any other service. Second, I have issues with the local ollama service; anythingllm cannot pull the local model, so I cannot select the model.
Author
Owner

@timothycarambat commented on GitHub (Apr 14, 2024):

Are you using gemini-1.0 pro on a cloud-based service? If so, that is why.

Second, for ollama are you using 127.0.0.1 and have ollama serve running?
https://github.com/Mintplex-Labs/anything-llm/blob/master/server/utils/AiProviders/ollama/README.md

@timothycarambat commented on GitHub (Apr 14, 2024): Are you using gemini-1.0 pro on a cloud-based service? If so, that is why. Second, for ollama are you using 127.0.0.1 and have `ollama serve` running? https://github.com/Mintplex-Labs/anything-llm/blob/master/server/utils/AiProviders/ollama/README.md
Author
Owner

@wwjCMP commented on GitHub (Apr 14, 2024):

Everything is running normally now, thank you.

@wwjCMP commented on GitHub (Apr 14, 2024): Everything is running normally now, thank you.
yindo changed title from [BUG]: Error fetching from gemini to [GH-ISSUE #1082] [BUG]: Error fetching from gemini 2026-06-05 14:36:34 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#669