make observer thought artifacts work (#1423)

This commit is contained in:
Shuchang Zheng
2024-12-22 23:01:02 -08:00
committed by GitHub
parent 94a3779bd7
commit 2029c0c41f
4 changed files with 46 additions and 6 deletions

View File

@@ -478,6 +478,7 @@ class EntityType(str, Enum):
TASK = "task"
WORKFLOW_RUN = "workflow_run"
WORKFLOW_RUN_BLOCK = "workflow_run_block"
OBSERVER_THOUGHT = "observer_thought"
entity_type_to_param = {
@@ -485,6 +486,7 @@ entity_type_to_param = {
EntityType.TASK: "task_id",
EntityType.WORKFLOW_RUN: "workflow_run_id",
EntityType.WORKFLOW_RUN_BLOCK: "workflow_run_block_id",
EntityType.OBSERVER_THOUGHT: "observer_thought_id",
}