Skip to content

feat: Make this SDK using the OpenAI compatible endpoints #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

edenreich
Copy link
Collaborator

Summary

This Pull Request changing the way the this SDK interact with Inference-Gateway.

Signed-off-by: Eden Reich <eden.reich@gmail.com>
- Introduced a new endpoint for listing MCP tools in the OpenAPI specification.
- Updated model IDs in the OpenAPI spec to include provider prefixes.
- Enhanced error handling for unauthorized and MCP not exposed responses.
- Added new Pydantic models for MCP tools and their responses.
- Updated tests to cover new functionality for listing MCP tools and handling errors.
- Bumped version to 0.4.0 and updated dependencies in pyproject.toml and requirements.txt.
- Added new templates for Pydantic model generation based on OpenAPI spec.

Signed-off-by: Eden Reich <eden.reich@gmail.com>
Signed-off-by: Eden Reich <eden.reich@gmail.com>
…kflow

Signed-off-by: Eden Reich <eden.reich@gmail.com>
…dencies

Signed-off-by: Eden Reich <eden.reich@gmail.com>
… files

Signed-off-by: Eden Reich <eden.reich@gmail.com>
Signed-off-by: Eden Reich <eden.reich@gmail.com>
Signed-off-by: Eden Reich <eden.reich@gmail.com>
…es and usage examples

Signed-off-by: Eden Reich <eden.reich@gmail.com>
@edenreich edenreich merged commit 7e74a80 into main May 26, 2025
1 check passed
github-actions bot pushed a commit that referenced this pull request May 26, 2025
## [0.4.0](v0.3.0...v0.4.0) (2025-05-26)

### ✨ Features

* Make this SDK using the OpenAI compatible endpoints ([#1](#1)) ([7e74a80](7e74a80))
@edenreich edenreich deleted the feature/use-the-inference-gateway-openai-compatible-api branch May 26, 2025 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant