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

How to close this kind of error log #208

Open
Rehtt opened this issue Jul 17, 2024 · 1 comment
Open

How to close this kind of error log #208

Rehtt opened this issue Jul 17, 2024 · 1 comment

Comments

@Rehtt
Copy link

Rehtt commented Jul 17, 2024

How to close this kind of error log, sometimes the network is not good and it will be interrupted frequently
Dingtalk_20240717155321

@devth
Copy link

devth commented Oct 23, 2024

I would love it if codeium didn't completely interrupt my workflow when errors happen. If I lose internet or exhaust the api or whatever that's fine - just fail silently or show a non-intrusive error message in the statusline. Flooding my screen and taking focus makes this plugin unusable.

completion request failed                                                                                                                                                                      
completion request failed                                                                                                                                                                      
Press ENTER or type command to continue                                                                                                                                                        
[codeium/codeium.log] [ERROR 07:21:52] /Users/devth/.config/nvim/plugged/codeium.nvim/lua/codeium/notify.lua:14: completion request failed:  {                                                 
Press ENTER or type command to continue                                                                                                                                                        
[codeium/codeium.log]   code = 0,                                                                                                                                                              
Press ENTER or type command to continue                                                                                                                                                        
completion request failed:  {                                                                                                                                                                  
  code = 0,                                                                                                                                                                                    
  out = '{"code":"resource_exhausted","message":"inference stream error: rpc error: code = ResourceExhausted desc = exa/inference/server/batched_inference_server.cc:927:\\nCannot handle more 
concurrent requests for model.: inference stream error: rpc error: code = ResourceExhausted desc = exa/inference/server/batched_inference_server.cc:927:\\nCannot handle more concurrent reques
ts for model."}',                                                                                                                                                                              
  response = {                                                                                                                                                                                 
    body = '{"code":"resource_exhausted","message":"inference stream error: rpc error: code = ResourceExhausted desc = exa/inference/server/batched_inference_server.cc:927:\\nCannot handle mo
re concurrent requests for model.: inference stream error: rpc error: code = ResourceExhausted desc = exa/inference/server/batched_inference_server.cc:927:\\nCannot handle more concurrent req
uests for model."}',                                                                                                                                                                           
    exit = 0,                                                                                                                                                                                  
    headers = { "Accept-Encoding: gzip", "Content-Type: application/json", "Vary: Origin", "Date: Wed, 23 Oct 2024 13:21:52 GMT", "Content-Length: 386", "", "" },                             
    status = 429                                                                                                                                                                               
  },                                                                                                                                                                                           
  status = 429                                                                                                                                                                                 
}   

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

2 participants