Skip to content

Commit

Permalink
Remove condense kwargs
Browse files Browse the repository at this point in the history
litellm.exceptions.BadRequestError: litellm.BadRequestError: BadRequestError: GroqException - Error code: 400 - {'error': {'message': "property 'condense' is unsupported, did you mean 'model'?", 'type': 'invalid_request_error'}}
  • Loading branch information
SmartManoj committed Aug 6, 2024
1 parent 3ba265e commit 1ece047
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions opendevin/llm/llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@ def wrapper(*args, **kwargs):
print('step() failed with an unrecognized exception:')
raise ContextWindowLimitExceededError()

kwargs.pop('condense', None)

# log the prompt
debug_message = ''
for message in messages:
Expand Down

0 comments on commit 1ece047

Please sign in to comment.