[fix] Align demo agent defaults - #5311
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
|
🤖 The AI agent says: Please review the unavailable-sandbox fallback and confirm that hiding |
Railway Preview Environment
|
Context
In the demo cloud deployment, Daytona is the only enabled execution environment, but a new agent still loads the unavailable local sandbox default. Users must open the execution settings and select Daytona before the agent can run. New agents also start on GPT-5.5 and expose the opinionated Pi (Agenta) harness even though that harness should not be selectable here.
Changes
When the current sandbox value is missing from the enabled deployment options, the frontend now selects the first available option. A Daytona-only deployment therefore changes from an invalid local selection to Daytona automatically, while deployments that offer the configured default keep it unchanged.
The shared agent template, service fallback, and runner file now default to
openai/gpt-5.6-luna. The harness picker filterspi_agentafrom both the capability-backed rail and the schema-backed fallback picker. Plain Pi remains the default harness.How to review
Start with
useModelHarness.tsxandHarnessSelectControl.tsxfor the unavailable-sandbox fallback and harness visibility rules. Then checktypes.py, the service config, andagent.jsonfor the synchronized model default. The service test pins the published SDK and inspect defaults to the same model.Tests / notes
pnpm lint-fixpnpm --filter @agenta/entity-ui run types:checkpnpm --filter @agenta/entity-ui test:unit -- tests/unit/enumSelectControl.test.ts tests/unit/connectionUtils.test.ts(201 passed)What to QA