Skip to content

Auto-compact to avoid "input length and max_tokens exceed context limit" errors #42

@achieveramin

Description

@achieveramin

Bug Description
it raised:   ⎿  API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"input length and max_tokens exceed context limit: 187254 + 20000 > 204798, decrease input length or max_tokens and try again"}} then it stopped continuing

Environment Info

  • Platform: macos
  • Terminal: iTerm.app
  • Version: 0.2.9
  • Feedback ID: a0322a15-98fc-4ebc-a3bf-64eb8d45da87

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions