File tree Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -32,10 +32,8 @@ class Profile:
3232 def __init__ (self ):
3333 # Default values if no profile exists
3434 # Model configuration
35- self .model = "anthropic/claude-3-5-sonnet-latest" # The LLM model to use
36- self .provider = (
37- None # The model provider (e.g. anthropic, openai) None will auto-detect
38- )
35+ self .model = "claude-3-5-sonnet-latest" # The LLM model to use
36+ self .provider = "anthropic" # The model provider (e.g. anthropic, openai) None will auto-detect
3937 self .temperature = 0 # Sampling temperature for model outputs (0-1)
4038 self .max_tokens = None # Maximum tokens in a message
4139
Original file line number Diff line number Diff line change 55from .computer import ComputerTool
66from .edit import EditTool
77
8- if os .environ .get ("INTERPRETER_SIMPLE_BASH" ) == "true" :
8+ if os .environ .get ("INTERPRETER_SIMPLE_BASH" , "" ). lower ( ) == "true" :
99 from .simple_bash import BashTool
1010else :
1111 from .bash import BashTool
Original file line number Diff line number Diff line change 1010from typing import Literal , TypedDict
1111from uuid import uuid4
1212
13- import pyautogui
13+ try :
14+ import pyautogui
15+ except :
16+ import traceback
17+
18+ traceback .print_exc ()
19+ print ("Failed to import pyautogui. Computer tool will not work." )
20+
1421from anthropic .types .beta import BetaToolComputerUse20241022Param
1522from screeninfo import get_monitors
1623
You can’t perform that action at this time.
0 commit comments