This repository was archived by the owner on Mar 29, 2026. It is now read-only.
feat: Add Forge LLM provider support#1090
Open
Yiiii0 wants to merge 1 commit into
Open
Conversation
## Changes - Added ForgeLlmService subclassing OpenAILlmService in src/vanna/integrations/forge/, added forge optional dependency in pyproject.toml - Environment variable: FORGE_API_KEY - Base URL: https://api.forge.tensorblock.co/v1 - Model format: Provider/model-name (e.g., OpenAI/gpt-4o) - Non-breaking: purely additive, existing providers are untouched ## About Forge Forge (https://github.com/TensorBlock/forge) is an open-source middleware that routes inference across 40+ upstream providers (including OpenAI, Anthropic, Gemini, DeepSeek, and OpenRouter). It is OpenAI API compatible — works with the standard OpenAI SDK by changing base_url and api_key. ## Motivation We have seen growing interest from users who standardize on Forge for their model management and want to use it natively with Vanna. This integration aims to bridge that gap. ## Key Benefits - Self-Hosted & Privacy-First: Forge is open-source and designed to be self-hosted, critical for users who require data sovereignty - Future-Proofing: acts as a decoupling layer — instead of maintaining individual adapters for every new provider, Forge users can access them immediately - Compatibility: supports established aggregators (like OpenRouter) as well as direct provider connections (BYOK) ## References - Repo: https://github.com/TensorBlock/forge - Docs: https://www.tensorblock.co/api-docs/overview - Main Page: https://www.tensorblock.co/
0064689 to
b1339ad
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
About Forge
Forge (https://github.com/TensorBlock/forge) is an open-source middleware that routes inference across 40+ upstream providers (including OpenAI, Anthropic, Gemini, DeepSeek, and OpenRouter). It is OpenAI API compatible — works with the standard OpenAI SDK by changing base_url and api_key.
Motivation
We have seen growing interest from users who standardize on Forge for their model management and want to use it natively with Vanna. This integration aims to bridge that gap.
Key Benefits
References