Skip to content

Commit df281f1

Browse files
committed
feat: add tenant underscore to run url
1 parent 08f446b commit df281f1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

workflowai/core/domain/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def __str__(self) -> str:
123123

124124
@property
125125
def run_url(self):
126-
return f"{env.WORKFLOWAI_APP_URL}/agents/{self.agent_id}/runs/{self.id}"
126+
return f"{env.WORKFLOWAI_APP_URL}/_/agents/{self.agent_id}/runs/{self.id}"
127127

128128

129129
class _AgentBase(Protocol, Generic[AgentOutput]):

workflowai/core/domain/run_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,4 +119,4 @@ def test_format_output_no_cost_latency() -> None:
119119
class TestRunURL:
120120
@patch("workflowai.env.WORKFLOWAI_APP_URL", "https://workflowai.hello")
121121
def test_run_url(self, run1: Run[_TestOutput]):
122-
assert run1.run_url == "https://workflowai.hello/agents/agent-1/runs/test-id"
122+
assert run1.run_url == "https://workflowai.hello/_/agents/agent-1/runs/test-id"

0 commit comments

Comments
 (0)