(
&self,
request: AgentThreadGoalCreateRequest,
)
| 547 | } |
| 548 | |
| 549 | pub async fn create_thread_goal( |
| 550 | &self, |
| 551 | request: AgentThreadGoalCreateRequest, |
| 552 | ) -> Result<ThreadGoal, RuntimeError> { |
| 553 | let thread_goal_management = self |
| 554 | .thread_goal_management |
| 555 | .as_ref() |
| 556 | .ok_or(RuntimeError::MissingThreadGoalManagementPort)?; |
| 557 | thread_goal_management |
| 558 | .create_thread_goal(request) |
| 559 | .await |
| 560 | .map_err(RuntimeError::from) |
| 561 | } |
| 562 | |
| 563 | pub async fn update_thread_goal_status( |
| 564 | &self, |
no test coverage detected