fixxxeeess
This commit is contained in:
parent
643203b8a5
commit
c4d9ca19ce
8 changed files with 142 additions and 54 deletions
|
|
@ -95,7 +95,7 @@ impl Scheduler {
|
|||
run.insert(&db).await?;
|
||||
|
||||
// Start agent in background
|
||||
let mut agent = Agent::new(zen_key, tavily_key, task.goal.clone());
|
||||
let mut agent = Agent::new(zen_key, tavily_key, task.goal.clone())?;
|
||||
|
||||
tokio::spawn(async move {
|
||||
let (logs, answer) = match agent.run().await {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue