Repository navigation
Polaris 0.4.4
Requires polaris-tui 0.3.0 and polaris-ai 0.9.1.
Changed
- A
-prun no longer asks the model to go on after a reply that calls no tool. On Terminal-Bench 2.1 and DeepSWE runs, every such message came after the work was already finished and only added a model call.POLARIS_CODE_UNATTENDED_NUDGESstill turns it on. For embedders,DEFAULT_UNATTENDED_NUDGESis now 0, so code that passes it towith_unattended_nudgessends no nudges. - A
-prun retries a failed model call (a network error, timeout, rate limit or overload) for about five minutes instead of about fifteen seconds: ten attempts, with waits starting at 2 s and doubling up to 60 s. A failed call ends the run, so a short outage used to throw away all the work done so far. Interactive sessions keep five attempts.RetryPolicy::unattendedgives an embedder the same numbers. A call that times out on every attempt can still take up to 59 minutes. - The stock system prompt asks the agent to list the task's explicit requirements (exact messages and formats, encodings, inputs to accept and reject, named edge cases), make sure a test exercises each, and confirm each against a passing test before its final answer. A custom
system_promptreplaces it as before.
Fixed
- A model reply that cannot be read, such as a tool call whose arguments are not valid JSON, no longer ends the turn. The call is sent again, up to two more times, even if the reply had already shown text, in every front end. Each attempt is billed, so a reply that fails the same way each time can cost up to three times the output. The failed attempt's partial text stays on screen, marked as failed. Before, one malformed tool call ended a
-prun and lost all its work.
What's Changed
- Unattended runs: no nudge by default, longer retries by @localminimum in #24
- Release polaris_code 0.4.4 by @localminimum in #26
Full Changelog: v0.4.3...v0.4.4