- Added message preprocessing in the base provider to filter unsupported content types (vision and audio) based on model capabilities. - Introduced new methods in the OpenAI provider for handling streaming and non-streaming requests with retry logic and tool call validation. - Enhanced request body building to support various options and improved error handling for API interactions. - Implemented validation for tool call arguments against JSON schemas, ensuring compliance with expected formats. |
||
|---|---|---|
| .. | ||
| handlers | ||
| providers | ||
| interfaces.go | ||
| llm.go | ||
| stream.go | ||