File tree 1 file changed +8
-10
lines changed
llmstack/processors/providers/promptly
1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change 14
14
WebBrowserCommandOutput ,
15
15
WebBrowserCommandType ,
16
16
WebBrowserContent ,
17
- WebBrowserResponse ,
18
17
)
19
18
from pydantic import BaseModel , Field
20
19
@@ -470,15 +469,14 @@ def _execute_anthropic_instruction_in_browser(
470
469
]
471
470
)
472
471
else :
473
- return WebBrowserResponse (
474
- content = WebBrowserContent (
475
- command_outputs = [
476
- WebBrowserCommandOutput (
477
- index = 0 ,
478
- output = "We do not currently support this action" ,
479
- )
480
- ],
481
- ),
472
+ logger .error (f"Invalid instruction: { instruction_input } " )
473
+ return WebBrowserContent (
474
+ command_outputs = [
475
+ WebBrowserCommandOutput (
476
+ index = 0 ,
477
+ output = "We do not currently support this action" ,
478
+ )
479
+ ],
482
480
)
483
481
484
482
def _process_anthropic (self ) -> dict :
You can’t perform that action at this time.
0 commit comments