Skip to content

Prefer direct tools in live agent code guidance#71

Merged
Ker102 merged 1 commit into
mainfrom
feature/live-agent-execute-code-guidance
May 18, 2026
Merged

Prefer direct tools in live agent code guidance#71
Ker102 merged 1 commit into
mainfrom
feature/live-agent-execute-code-guidance

Conversation

@Ker102
Copy link
Copy Markdown
Owner

@Ker102 Ker102 commented May 18, 2026

Summary

  • update the current LangGraph agent's execute_code tool description so Python is an escape hatch, not the default path
  • point the agent toward direct MCP tools for mesh, material, lighting, camera, render settings, UV, and export operations
  • add a regression test that blocks reintroducing broad execute_code-first wording

Validation

  • npx tsx scripts/test/test-live-agent-execute-code-guidance.ts
  • npx tsx scripts/test/test-direct-tool-surface-coverage.ts
  • npx tsx scripts/test/test-direct-tool-planning-prompt.ts
  • npx tsc --noEmit --incremental false
  • npm run lint

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 18, 2026

Warning

Rate limit exceeded

@Ker102 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 48 minutes and 10 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 1b9f32bc-d4f5-478c-bc13-53ff257c58c9

📥 Commits

Reviewing files that changed from the base of the PR and between 274a241 and 4006651.

📒 Files selected for processing (2)
  • lib/ai/agents.ts
  • scripts/test/test-live-agent-execute-code-guidance.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/live-agent-execute-code-guidance

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Ker102 Ker102 merged commit c987c4f into main May 18, 2026
6 checks passed
@Ker102 Ker102 deleted the feature/live-agent-execute-code-guidance branch May 18, 2026 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant