Skip to content

Commit

Permalink
use user_url if specified by user when running cruise
Browse files Browse the repository at this point in the history
  • Loading branch information
wintonzheng committed Dec 31, 2024
1 parent d5dacd9 commit e2353ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skyvern/forge/sdk/services/observer_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 95,7 @@ async def initialize_observer_cruise(
metadata_response = await app.SECONDARY_LLM_API_HANDLER(prompt=metadata_prompt, observer_thought=observer_thought)
# validate
LOG.info(f"Initialized observer initial response: {metadata_response}")
url: str = metadata_response.get("url", "")
url: str = user_url or metadata_response.get("url", "")
if not url:
raise UrlGenerationFailure()
title: str = metadata_response.get("title", DEFAULT_WORKFLOW_TITLE)
Expand Down

0 comments on commit e2353ae

Please sign in to comment.