request (424318 tokens) exceeds the available context size (250112 tokens), try increasing it: {"error":{"code":400,"message":"request (424318 tokens)

#14
by akierum - opened

This is with aider-desk when browser debug was used to take screenshot. How can screenshot need 424318 tokens? Clearly model bug as original one works fine

request (424318 tokens) exceeds the available context size (250112 tokens), try increasing it: {"error":{"code":400,"message":"request (424318 tokens) exceeds the available context size (250112 tokens), try increasing it","type":"exceed_context_size_error","n_prompt_tokens":424318,"n_ctx":250112}}

This is a problem with whatever app you're using. You need to set your max context in your app to what you have max in your hosting app.

You set 250112 tokens in whatever you're using to serve your model, so tell your app that is your max context.

Yes I reported this is aider-desk bug

DavidAU changed discussion status to closed

Sign up or log in to comment