Remove verify_approval tool, file preprocessing, and fix agent stability#844
Conversation
…mprove error metadata Remove the verify_approval agent tool and file preprocessing feature (FILE_PREPROCESSING_INSTRUCTIONS, beforeGenerateHook, related config). Hoist key variables in generateAgentResponse to make partial data available in the catch block for richer error metadata.
Each agent version now gets a unique name ({name}:v{version}) instead
of sharing the same name across versions. This prevents corrupted SDK
state from one version affecting others.
…n up retry message on success Add `error` to `messageMetadataValidator` so the query return type matches the table schema and mutation. Update the retry system message to reflect success when continuation completes, preventing an orphaned "Retrying…" message in the thread.
There was a problem hiding this comment.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThis PR removes support for two custom agent features: file preprocessing ( Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Summary
verify_approvalagent tool and file preprocessing feature (beforeGenerateHook, FILE_PREPROCESSING_INSTRUCTIONS, related config/UI){name}:v{version}) to isolate SDK state between agent versions, preventing corrupted state from one version affecting otherserrorfield tomessageMetadataValidatorso the query return type matches the table schema, and fix the retry system message to reflect success on completionTest plan
verify_approvaltoolbun run --filter @tale/platform testfor affected test filesSummary by CodeRabbit
Release Notes
Removed Features
verify_approvaltool from integration agent capabilitiesImprovements