We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5e62df commit 7c9b1d0Copy full SHA for 7c9b1d0
llmstack/processors/providers/promptly/web_browser.py
@@ -14,7 +14,6 @@
14
WebBrowserCommandOutput,
15
WebBrowserCommandType,
16
WebBrowserContent,
17
- WebBrowserResponse,
18
)
19
from pydantic import BaseModel, Field
20
@@ -470,15 +469,14 @@ def _execute_anthropic_instruction_in_browser(
470
469
]
471
472
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
- ),
+ logger.error(f"Invalid instruction: {instruction_input}")
+ return WebBrowserContent(
+ command_outputs=[
+ WebBrowserCommandOutput(
+ index=0,
+ output="We do not currently support this action",
+ )
+ ],
482
483
484
def _process_anthropic(self) -> dict:
0 commit comments