shannon icon indicating copy to clipboard operation
shannon copied to clipboard

[FEATURE]: Support configurable model version (upgrade to Claude Sonnet 4.6)

Open pitimon opened this issue 9 months ago • 5 comments

Feature Request

Shannon currently hardcodes claude-sonnet-4-5-20250929 as the model for all agents. With claude-sonnet-4-6 now available, it would be great to:

  1. Allow users to configure the model via .env (e.g., ANTHROPIC_MODEL=claude-sonnet-4-6)
  2. Update the default to the latest Sonnet 4.6

Why

  • Sonnet 4.6 has improved reasoning, coding, and tool-use capabilities over 4.5
  • Users on Anthropic subscriptions already have access to 4.6
  • A configurable ANTHROPIC_MODEL env var would future-proof against version bumps without code changes

Current behavior

The model is hardcoded internally — the report output shows:

Model: claude-sonnet-4-5-20250929

No .env variable exists to override this.

Proposed behavior

# .env
ANTHROPIC_MODEL=claude-sonnet-4-6   # default to latest if not set

Context

Tested with Shannon on a live WordPress target. All 9 agents completed successfully on Sonnet 4.5. Would be interested to benchmark the same target on Sonnet 4.6 for comparison if this becomes configurable.

pitimon avatar Feb 28 '26 01:02 pitimon

Thanks for the feedback - this is something we are already actively looking at. Will keep you posted on this.

keygraphVarun avatar Feb 28 '26 01:02 keygraphVarun

Found that PR #144 by @superpoussin22 already addresses this — it makes the model configurable as an env variable via LiteLLM proxy layer. +1 for merging that PR, which would resolve this issue.

pitimon avatar Feb 28 '26 01:02 pitimon

We have broader requirements - eg: leverage Haiku and Opus for task dependent routing in future (figuring out to lay the groundwork for future proofing) and also figuring out bedrock/vertex speicfic mappings too.

keygraphVarun avatar Feb 28 '26 01:02 keygraphVarun

Thanks @keygraphVarun — task-dependent routing (Haiku for light tasks, Opus for heavy lifting) sounds like a much better approach than a single model env var. Looking forward to it!

pitimon avatar Feb 28 '26 01:02 pitimon

We have a preliminary PR - will be merging it after testing. https://github.com/KeygraphHQ/shannon/pull/177

keygraphVarun avatar Mar 03 '26 03:03 keygraphVarun