mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2026-05-01 21:20:19 +00:00
Fix: generate if/else for conditional blocks in Code 2.0 + branch return validation (#5160)
This commit is contained in:
parent
640cdeb788
commit
975cdd8f80
20 changed files with 868 additions and 425 deletions
|
|
@ -23,6 +23,7 @@ class LLMAPIHandler(Protocol):
|
|||
raw_response: bool = False,
|
||||
window_dimension: Resolution | None = None,
|
||||
force_dict: bool = True,
|
||||
system_prompt: str | None = None,
|
||||
) -> Awaitable[dict[str, Any] | Any]: ...
|
||||
|
||||
|
||||
|
|
@ -41,5 +42,6 @@ async def dummy_llm_api_handler(
|
|||
raw_response: bool = False,
|
||||
window_dimension: Resolution | None = None,
|
||||
force_dict: bool = True,
|
||||
system_prompt: str | None = None,
|
||||
) -> dict[str, Any] | Any:
|
||||
raise NotImplementedError("Your LLM provider is not configured. Please configure it in the .env file.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue