From 2cb809225dcb4c688ad77163cb072e803dcd4f1f Mon Sep 17 00:00:00 2001 From: SimonGurney Date: Thu, 2 Oct 2025 11:36:59 +0100 Subject: [PATCH 1/2] bugfix:anthropic --- saist/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/saist/main.py b/saist/main.py index 0b7242d..92f458c 100755 --- a/saist/main.py +++ b/saist/main.py @@ -123,7 +123,7 @@ async def _get_llm_adapter(args) -> BaseLlmAdapter: if args.llm == 'anthropic': llm = AnthropicAdapter( api_key = args.llm_api_key, model=model) logger.debug(f"Using LLM: anthropic Model: {llm.model_name}") - if args.llm == 'bedrock': + elif args.llm == 'bedrock': llm = BedrockAdapter( api_key = args.llm_api_key, model=model) logger.debug(f"Using LLM: AWS bedrock Model: {llm.model_name}") elif args.llm == 'deepseek': From d22a10a2cd52dc8d998b01acf2129ace25b1d9f1 Mon Sep 17 00:00:00 2001 From: Brandon Hall Date: Thu, 2 Oct 2025 11:44:31 +0100 Subject: [PATCH 2/2] Constrain pip requirements --- requirements.txt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/requirements.txt b/requirements.txt index 1591cd6..dfdd7ab 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,9 +1,9 @@ -pydantic -requests -GitPython -python-dotenv -pydantic-ai -aiofiles -rich -flask -ollama +pydantic==2.11.7 +requests==2.32.4 +GitPython==3.1.44 +python-dotenv==1.1.1 +pydantic-ai==0.3.7 +aiofiles==24.1.0 +rich==14.0.0 +flask==3.1.1 +ollama==0.5.1