Skip to content

Conversation

@Scra3
Copy link
Member

@Scra3 Scra3 commented Dec 11, 2025

linked to: CU-86c70j195

Summary

  • Add new addAI customization method for configuring AI provider (OpenAI, Anthropic)
  • Add AI proxy route handler at /_internal/ai-proxy/:route
  • Integration with MCP server configuration service from ForestAdminClient
  • Schema flag for AI enabled projects

API Usage

agent.addAI({
  provider: 'openai',
  model: 'gpt-4',
  apiKey: process.env.OPENAI_API_KEY,
});

Dependencies

This PR depends on:

Test plan

  • Unit tests for AiProxyRoute
  • Unit tests for addAI method in agent
  • Unit tests for makeRoutes with AI configuration
  • Build passes
  • Lint passes

🤖 Generated with Claude Code

@qltysh
Copy link

qltysh bot commented Dec 11, 2025

1 new issue

Tool Category Rule Count
qlty Structure Function with many parameters (count = 4): makeRoutes 1

@Scra3 Scra3 force-pushed the feat/mcp-server-config-2 branch 7 times, most recently from 5f8cd7c to 20d52c4 Compare December 12, 2025 11:46
Base automatically changed from feat/mcp-server-config-2 to main December 15, 2025 12:40
Add support for AI/LLM integration in the agent package.

- New addAI customization method for configuring AI provider
- AI proxy route handler at /_internal/ai-proxy/:route
- Integration with MCP server configuration service
- Schema flag for AI enabled projects

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@Scra3 Scra3 force-pushed the feat/add-ai-integration branch from 9dd379a to e5305ef Compare December 15, 2025 12:58
@Scra3
Copy link
Member Author

Scra3 commented Dec 15, 2025

Auto code review

No issues found. Checked for bugs and CLAUDE.md compliance.

🤖 Generated with Claude Code

- If this code review was useful, please react with 👍. Otherwise, react with 👎.

- Update @forestadmin/ai-proxy to 1.0.0 in agent and forestadmin-client
- Add resolution in root package.json to force 1.0.0
- Allow string type for model to support custom models or new versions

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
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.

2 participants