DevoxxGenieIDEAPlugin icon indicating copy to clipboard operation
DevoxxGenieIDEAPlugin copied to clipboard

[FEATURE] Add project exceeds context size : Show real-time counter of tokens

Open jnsw opened this issue 9 months ago • 2 comments

Wrong behaiviour, if I click Add project, it fills the full context and this exceeds naturally as there is a prompt given with it.

An unexpected error occurred: CompletionException - com.devoxx.genie.service.exception.ProviderUnavailableException: dev.langchain4j.model.anthropic.internal.client.AnthropicHttpException: {"type":"error","error":{"type":"invalid_request_error","message":"prompt is too long: 206568 tokens > 200000 maximum"}} Caused by: ProviderUnavailableException - dev.langchain4j.model.anthropic.internal.client.AnthropicHttpException: {"type":"error","error":{"type":"invalid_request_error","message":"prompt is too long: 206568 tokens > 200000 maximum"}} Please check the IDE log for more details.

jnsw avatar Jan 31 '25 13:01 jnsw