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

when switch AI models get error 400 #6152

Open
GS-Sharon opened this issue Nov 19, 2024 · 4 comments
Open

when switch AI models get error 400 #6152

GS-Sharon opened this issue Nov 19, 2024 · 4 comments
Labels
bug Something isn't working question Further information is requested repo/cody

Comments

@GS-Sharon
Copy link

Type: Bug

Extension Information

  • Cody Version: 1.42.0
  • VS Code Version: 1.95.3
  • Extension Host: desktop

Steps to Reproduce

Expected Behaviour

Logs

Request Failed: Sourcegraph Cody Gateway: unexpected status code 400: {"error":"model "google/gemini-1.5-flash" is not allowed, allowed: []"}

Extension version: 1.42.0
VS Code version: Code 1.95.3 (f1a4fb101478ce6ec82fe9627c43efbf9e98c813, 2024-11-13T14:50:04.152Z)
OS version: Darwin arm64 23.6.0
Modes:

System Info
Item Value
CPUs Apple M3 (8 x 2400)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) 3, 3, 4
Memory (System) 16.00GB (0.10GB free)
Process Argv --crash-reporter-id 2a19f6b1-f73c-4709-a20f-2dc81b3953ef
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
da93g388:31013173
dvdeprecation:31068756
dwnewjupyter:31046869
newcmakeconfigv2:31071590
nativerepl1:31139838
pythonrstrctxt:31112756
nativeloc2:31134642
cf971741:31144450
iacca1:31171482
notype1:31157159
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530

Copy link

linear bot commented Nov 19, 2024

@github-actions github-actions bot added bug Something isn't working repo/cody labels Nov 19, 2024
@GS-Sharon
Copy link
Author

image

@PriNova
Copy link
Collaborator

PriNova commented Nov 19, 2024

@GS-Sharon

Thank you for reporting this issue. The team is informed about it.

Does this happen on all models or just the Google models?
Do you have a stable network connection?

@PriNova PriNova added clients/vscode question Further information is requested and removed clients/vscode labels Nov 19, 2024
@GS-Sharon
Copy link
Author

GS-Sharon commented Nov 22, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested repo/cody
Projects
None yet
Development

No branches or pull requests

2 participants