Skip to content

Polaris 0.4.4

Choose a tag to compare

@github-actions github-actions released this 09 Nov 20:01
· 23 commits to main since this release
9b5b2a3

Requires polaris-tui 0.3.0 and polaris-ai 0.9.1.

Changed

  • A -p run 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_NUDGES still turns it on. For embedders, DEFAULT_UNATTENDED_NUDGES is now 0, so code that passes it to with_unattended_nudges sends no nudges.
  • A -p run 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::unattended gives 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_prompt replaces 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 -p run and lost all its work.

What's Changed

Full Changelog: v0.4.3...v0.4.4