org id not None (#2696)

This commit is contained in:
Asher Foa
2025-06-13 10:44:04 -04:00
committed by GitHub
parent 296d2f903b
commit 687f3ec547
3 changed files with 13 additions and 15 deletions

View File

@@ -1351,12 +1351,9 @@ def _generate_random_string(length: int = 5) -> str:
return "".join(random.choices(RANDOM_STRING_POOL, k=length))
async def get_thought_timelines(
task_v2_id: str,
organization_id: str | None = None,
) -> list[WorkflowRunTimeline]:
async def get_thought_timelines(*, task_v2_id: str, organization_id: str) -> list[WorkflowRunTimeline]:
thoughts = await app.DATABASE.get_thoughts(
task_v2_id,
task_v2_id=task_v2_id,
organization_id=organization_id,
thought_types=[
ThoughtType.plan,