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:
32
32
def __init__ (self ):
33
33
# Default values if no profile exists
34
34
# 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
39
37
self .temperature = 0 # Sampling temperature for model outputs (0-1)
40
38
self .max_tokens = None # Maximum tokens in a message
41
39
Original file line number Diff line number Diff line change 5
5
from .computer import ComputerTool
6
6
from .edit import EditTool
7
7
8
- if os .environ .get ("INTERPRETER_SIMPLE_BASH" ) == "true" :
8
+ if os .environ .get ("INTERPRETER_SIMPLE_BASH" , "" ). lower ( ) == "true" :
9
9
from .simple_bash import BashTool
10
10
else :
11
11
from .bash import BashTool
Original file line number Diff line number Diff line change 10
10
from typing import Literal , TypedDict
11
11
from uuid import uuid4
12
12
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
+
14
21
from anthropic .types .beta import BetaToolComputerUse20241022Param
15
22
from screeninfo import get_monitors
16
23
You can’t perform that action at this time.
0 commit comments