-
Notifications
You must be signed in to change notification settings - Fork 86
Agents mono api #1458
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Agents mono api #1458
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
|
Claude finished @miles-kt-inkeep's task —— View job Staff Engineer Code Review - Agents Mono APII've completed my comprehensive review of this significant architectural PR. This consolidates manage, run, and eval APIs into a unified deployment package. 🎯 Overall Assessment: Strong Architectural FoundationThis PR demonstrates solid engineering practices with a well-structured domain-driven approach. The consolidation strategy is sound and the implementation shows attention to security, testing, and maintainability. 🏗️ Architectural Strengths✅ Excellent Domain Organization
✅ Comprehensive Security Design
✅ Robust Testing Strategy
🔍 Key Areas for Enhancement🚨 Critical: Database Layer ArchitectureIssue: The current database client setup creates potential architectural confusion: // agents-api/src/data/db/manageDbClient.ts
const manageDbClient = createAgentsManageDatabaseClient({
connectionString: env.INKEEP_AGENTS_MANAGE_DATABASE_URL,
});Concerns:
Recommendations:
🚨 Moderate: CORS Configuration ComplexityThe CORS setup in // Multiple CORS configurations layered on different routes
app.use('/api/auth/*', cors(authCorsConfig));
app.use('/run/*', cors(runCorsConfig));
app.use('/manage/tenants/*/playground/token', cors(playgroundCorsConfig));Concerns:
Recommendations:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
super small but the gitignore currently has
Generated workflow bundles
agents-eval-api/.well-known/
Workflow runtime data
agents-eval-api/.workflow-data/
so just edit the file when you merge so the workflow data doesnt get merged
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch thanks
No description provided.