Skip to content
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
vanna-ai:mainfrom
Yiiii0:feature/add-forge-provider
Open

feat: Add Forge LLM provider support#1090
Yiiii0 wants to merge 1 commit into
vanna-ai:mainfrom
Yiiii0:feature/add-forge-provider

Conversation

@Yiiii0

@Yiiii0 Yiiii0 commented Feb 11, 2026

Copy link
Copy Markdown

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

## 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/
@Yiiii0 Yiiii0 force-pushed the feature/add-forge-provider branch from 0064689 to b1339ad Compare February 11, 2026 04:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant