Closed jay-fibi closed 2 months ago
I believe this has been fixed (internal context https://sourcegraph.slack.com/archives/C07KA67A0UR/p1724862498546059). @jay-fibi could you let me know if you're still seeing this error, please?
@taylorsperry this issue is resolved now. Closing the ticket.
IDE Information
PyCharm 2023.3.3 (Community Edition) Build #PC-233.13763.11, built on January 26, 2024 Runtime version: 17.0.9+7-b1087.11 aarch64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. macOS 14.3 GC: G1 Young Generation, G1 Old Generation Memory: 2048M Cores: 8 Metal Rendering is ON Non-Bundled Plugins: com.sourcegraph.jetbrains (6.0.34)
Bug Description
Platform: macOS
Steps to reproduce:
Gemini 1.5 Pro
orGemini 1.5 Flash
LLMExplain Code
for any code snippetObserved behavior:
Following error message displayed,
"Error: Sourcegraph Cody Gateway: unexpected status code 400: { "error": { "code": 400, "message": "User location is not supported for the API use.", "status": "FAILED_PRECONDITION" } } "
Expected behavior:
Error should not occur and user should be able to use both these LLMs
Additional context
Screenshot: