Skip to content

Generalize LLM backend configuration#102

Open
eshulman2 wants to merge 2 commits into
forge-sdlc:mainfrom
eshulman2:generalize-llm-backend-default-gemini
Open

Generalize LLM backend configuration#102
eshulman2 wants to merge 2 commits into
forge-sdlc:mainfrom
eshulman2:generalize-llm-backend-default-gemini

Conversation

@eshulman2

@eshulman2 eshulman2 commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • replace product-facing Claude-specific wording with Deep Agents/LangChain model backend language
  • add generic LLM_API_KEY, VERTEX_PROJECT_ID, and VERTEX_REGION config aliases while preserving ANTHROPIC_* compatibility
  • keep the default orchestrator/container model direct-Anthropic compatible with claude-sonnet-4-5@20250929, while documenting Gemini as a Vertex AI option
  • add tests covering generic/legacy LLM config resolution and the default model

Validation

  • UV_CACHE_DIR=/tmp/uv-cache uv run ruff check src/forge/config.py src/forge/integrations/agents/agent.py containers/entrypoint.py src/forge/sandbox/runner.py tests/unit/test_config_prd.py
  • UV_CACHE_DIR=/tmp/uv-cache uv run pytest tests/unit/test_config_prd.py
  • runtime check: with LLM_API_KEY set and LLM_MODEL unset, ForgeAgent creates ChatAnthropic

@eshulman2 eshulman2 force-pushed the generalize-llm-backend-default-gemini branch from 71c15ba to 1f70e48 Compare June 25, 2026 12:19
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