julep-ai/julep

sessions/chat endpoint returns 500 error status when too many tools have been passed

Opened this issue · 0 comments

litellm.exceptions.BadRequestError: OpenAIException - Error code: 400 - {'error': {'message': "Invalid 'tools': array too long. Expected an array with maximum length 128, but got an array with length 383 instead.", 'type': 'invalid_request_error', 'param': 'tools', 'code': 'array_above_max_length'}}