Independent Auditing of AI Agents. Run by human or the agent itself, to answer the most crucial question in the AI Agent Economy. Is the agent doing what is supposed to do? With iFixAi you can have this answer in less than 120 seconds.
Python agent-evaluationaiai-alignmentai-evaluationai-governanceai-safetyclidiagnostic-tooleu-ai-acthallucination-detectioniso-42001llm-evaluationllm-securitynist-ai-rmfowasp-llmprompt-injectionpythonresponsible-airisk-assessmentrisk-management
fix: display the actual Anthropic default model in setup (#271)
Rudy Mizrahi Celeklic5ab01af818d
diff --git a/ifixai/cli/model_catalog.py b/ifixai/cli/model_catalog.pyindex 1fcdf24..5a33156 100644--- a/ifixai/cli/model_catalog.py+++ b/ifixai/cli/model_catalog.py@@ -38,7 +38,7 @@ DEFAULT_MODEL: dict[str, str] = {"cloudflare": "workers-ai/@cf/meta/llama-3.3-70b-instruct-fp8-fast","vercel": "openai/gpt-4o-mini","openai": "gpt-4o",- "anthropic": "claude-3-5-sonnet-latest",+ "anthropic": "claude-sonnet-4-6","gemini": "gemini-2.0-flash","azure": "gpt-4o","bedrock": "anthropic.claude-3-5-sonnet-20241022-v2:0",diff --git a/ifixai/tests/test_setup_anthropic_default_label.py b/ifixai/tests/test_setup_anthropic_default_label.pynew file mode 100644index 0000000..2c673a8--- /dev/null+++ b/ifixai/tests/test_setup_anthropic_default_label.py@@ -0,0 +1,17 @@+import pytest++from ifixai.cli import setup_cmd++adapter = pytest.importorskip('ifixai.providers.anthropic')+++def test_setup_displays_the_actual_anthropic_provider_default(monkeypatch):+ offered = []++ def select(message, choices, **kwargs):+ offered.extend(choices)+ return kwargs['default']++ monkeypatch.setattr(setup_cmd.ui, 'select', select)+ assert setup_cmd._pick_model('anthropic', role='system under test') is None+ assert offered[0] == f'Provider default ({adapter.DEFAULT_MODEL})'