Skip to content

feat: Add Forge as LLM provider#191

Open
Yiiii0 wants to merge 1 commit intocased:mainfrom
Yiiii0:feature/forge-20260308-045411
Open

feat: Add Forge as LLM provider#191
Yiiii0 wants to merge 1 commit intocased:mainfrom
Yiiii0:feature/forge-20260308-045411

Conversation

@Yiiii0
Copy link

@Yiiii0 Yiiii0 commented Mar 9, 2026

Summary

Adds Forge as a new LLM provider in kit's PR review tool. Maps Forge to the existing OpenAI provider internally, since Forge exposes an OpenAI-compatible API.

Changes

  • src/kit/pr_review/config.py: Added Forge provider detection, default model/base URL, and FORGE_API_KEY env var resolution
  • src/kit/pr_review/README.md: Added Forge configuration examples and environment variable documentation

Usage

# In .kit/config.yml
llm:
  provider: forge
  model: "openai/gpt-4o-mini"
export FORGE_API_KEY="your-forge-api-key"

Test Evidence

All existing tests pass. Forge maps to the OpenAI provider internally, so all OpenAI-compatible functionality is preserved.

I work at TensorBlock and will help maintain this integration.


About Forge

Forge is an open-source middleware service for unified AI model provider management. It routes requests across 40+ AI providers with access to thousands of models through a single OpenAI-compatible API.

## Changes

- Automated integration updates from manager loop.

Files modified:
src/kit/pr_review/README.md
src/kit/pr_review/config.py
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