Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Similar CLI output is repeated, repeatedly #362

Open
discdiver opened this issue Oct 23, 2024 · 5 comments
Open

Similar CLI output is repeated, repeatedly #362

discdiver opened this issue Oct 23, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@discdiver
Copy link
Collaborator

Description

Output (truncated a lot due to size) - got a GH error: There was an error creating your Issue: body is too long (maximum is 65536 characters).:

╭─ Agent: Headline Summarizer ─────────────────────────────────────────────────────────────╮
│                                                                                          │
│  ✅ Tool call: "mark_task_e6439315_successful"                                           │
│                                                                                          │
│     Tool args: {'result': ["On November 2, 2023, the S&P 500 experienced its best day    │
│     since April, with the index adding almost 2% following a positive reaction in the    │
│     markets after the Federal Reserve's recent decision.", "America's largest cities     │
│     are in competition to be recognized as the most suitable places to endure potential  │
│     future dystopian scenarios, as they prepare for various challenges."]}               │
╭─ Agent: Headline Summarizer ─────────────────────────────────────────────────────────────╮
│                                                                                          │
│  ✅ Tool call: "duckduckgo_search"                                                       │
│                                                                                          │
│     Tool args: {'query': 'top business news November 2 2023'}                            │
│                                                                                          │
│     Tool result: Nov. 2, 2023 at 6:21 PM EDT The post-Fed party continued Thursday,      │
│     with the S&P 500 recording its best day since April. Read the day's full markets     │
│     roundup here . Today's Headlines. Inside the Deadly Maui Inferno, Hour by Hour. By   │
│     Mike Baker, Malika Khurana, K.K. Rebecca Lai, Riley Mellen, Natalie Reneau, Bedel    │
│     Saget, Elena Shao, Anjali Singhvi and Charlie ... In other news America's biggest    │
│     cities are vying for a hot, new title: best place to ride out dystopia Bob Knight ,  │
│     the famed Indiana basketball coach, has died at age 83 November 2, 2023 at 5:43 PM   │
│     EDT. Save ... the S&P 500 added almost 2% — its best session since April. ... News.  │
│     Markets Economics Technology Politics Green Crypto AI. Search WSJ's digital archive  │
│     of news articles and top headlines from November 2, 2023                             │
│                                                                                          │
╰────────────────────────────────────────────────────────────────────────────  6:17:04 PM ─╯
╭─ Agent: Headline Summarizer ─────────────────────────────────────────────────────────────╮
│                                                                                          │
│  ✅ Tool call: "mark_task_e6439315_successful"                                           │
│                                                                                          │
│     Tool args: {'result': ["On November 2, 2023, the S&P 500 experienced its best day    │
│     since April, with the index adding almost 2% following a positive reaction in the    │
│     markets after the Federal Reserve's recent decision.", "America's largest cities     │
│     are in competition to be recognized as the most suitable places to endure potential  │
│     future dystopian scenarios, as they prepare for various challenges."]}               │
╭─ Agent: Headline Summarizer ─────────────────────────────────────────────────────────────╮
│                                                                                          │
│  ✅ Tool call: "duckduckgo_search"                                                       │
│                                                                                          │
│     Tool args: {'query': 'top business news November 2 2023'}                            │
│                                                                                          │
│     Tool result: Nov. 2, 2023 at 6:21 PM EDT The post-Fed party continued Thursday,      │
│     with the S&P 500 recording its best day since April. Read the day's full markets     │
│     roundup here . Today's Headlines. Inside the Deadly Maui Inferno, Hour by Hour. By   │
│     Mike Baker, Malika Khurana, K.K. Rebecca Lai, Riley Mellen, Natalie Reneau, Bedel    │
│     Saget, Elena Shao, Anjali Singhvi and Charlie ... In other news America's biggest    │
│     cities are vying for a hot, new title: best place to ride out dystopia Bob Knight ,  │
│     the famed Indiana basketball coach, has died at age 83 November 2, 2023 at 5:43 PM   │
│     EDT. Save ... the S&P 500 added almost 2% — its best session since April. ... News.  │
│     Markets Economics Technology Politics Green Crypto AI. Search WSJ's digital archive  │
│     of news articles and top headlines from November 2, 2023                             │
│                                                                                          │
╰────────────────────────────────────────────────────────────────────────────  6:17:04 PM ─╯
╭─ Agent: Headline Summarizer ─────────────────────────────────────────────────────────────╮
│                                                                                          │
│  ✅ Tool call: "mark_task_e6439315_successful"                                           │
│                                                                                          │
│     Tool args: {'result': ["On November 2, 2023, the S&P 500 experienced its best day    │
│     since April, with the index adding almost 2% following a positive reaction in the    │
│     markets after the Federal Reserve's recent decision.", "America's largest cities     │
│     are in competition to be recognized as the most suitable places to endure potential  │
│     future dystopian scenarios, as they prepare for various challenges."]}               │
│                                                                                          │
╭─ Agent: Headline Summarizer ─────────────────────────────────────────────────────────────╮
│                                                                                          │
│  ✅ Tool call: "duckduckgo_search"                                                       │
│                                                                                          │
│     Tool args: {'query': 'top business news November 2 2023'}                            │
│                                                                                          │
│     Tool result: Nov. 2, 2023 at 6:21 PM EDT The post-Fed party continued Thursday,      │
│     with the S&P 500 recording its best day since April. Read the day's full markets     │
│     roundup here . Today's Headlines. Inside the Deadly Maui Inferno, Hour by Hour. By   │
│     Mike Baker, Malika Khurana, K.K. Rebecca Lai, Riley Mellen, Natalie Reneau, Bedel    │
│     Saget, Elena Shao, Anjali Singhvi and Charlie ... In other news America's biggest    │
│     cities are vying for a hot, new title: best place to ride out dystopia Bob Knight ,  │
│     the famed Indiana basketball coach, has died at age 83 November 2, 2023 at 5:43 PM   │
│     EDT. Save ... the S&P 500 added almost 2% — its best session since April. ... News.  │
│     Markets Economics Technology Politics Green Crypto AI. Search WSJ's digital archive  │
│     of news articles and top headlines from November 2, 2023                             │
│                                                                                          │
╰────────────────────────────────────────────────────────────────────────────  6:17:04 PM ─╯
╭─ Agent: Headline Summarizer ─────────────────────────────────────────────────────────────╮
│                                                                                          │
│  ✅ Tool call: "mark_task_e6439315_successful"                                           │
│                                                                                          │
│     Tool args: {'result': ["On November 2, 2023, the S&P 500 experienced its best day    │
│     since April, with the index adding almost 2% following a positive reaction in the    │
│     markets after the Federal Reserve's recent decision.", "America's largest cities     │
│     are in competition to be recognized as the most suitable places to endure potential  │
│     future dystopian scenarios, as they prepare for various challenges."]}               │
│                                                                                          │
╭─ Agent: Headline Summarizer ─────────────────────────────────────────────────────────────╮
│                                                                                          │
│  ✅ Tool call: "duckduckgo_search"                                                       │
│                                                                                          │
│     Tool args: {'query': 'top business news November 2 2023'}                            │
│                                                                                          │
│     Tool result: Nov. 2, 2023 at 6:21 PM EDT The post-Fed party continued Thursday,      │
│     with the S&P 500 recording its best day since April. Read the day's full markets     │
│     roundup here . Today's Headlines. Inside the Deadly Maui Inferno, Hour by Hour. By   │
│     Mike Baker, Malika Khurana, K.K. Rebecca Lai, Riley Mellen, Natalie Reneau, Bedel    │
│     Saget, Elena Shao, Anjali Singhvi and Charlie ... In other news America's biggest    │
│     cities are vying for a hot, new title: best place to ride out dystopia Bob Knight ,  │
│     the famed Indiana basketball coach, has died at age 83 November 2, 2023 at 5:43 PM   │
│     EDT. Save ... the S&P 500 added almost 2% — its best session since April. ... News.  │
│     Markets Economics Technology Politics Green Crypto AI. Search WSJ's digital archive  │
│     of news articles and top headlines from November 2, 2023                             │
│                                                                                          │
╰────────────────────────────────────────────────────────────────────────────  6:17:04 PM ─╯
╭─ Agent: Headline Summarizer ─────────────────────────────────────────────────────────────╮
│                                                                                          │
│  ✅ Tool call: "mark_task_e6439315_successful"                                           │
│                                                                                          │
│     Tool args: {'result': ["On November 2, 2023, the S&P 500 experienced its best day    │
│     since April, with the index adding almost 2% following a positive reaction in the    │
│     markets after the Federal Reserve's recent decision.", "America's largest cities     │
│     are in competition to be recognized as the most suitable places to endure potential  │
│     future dystopian scenarios, as they prepare for various challenges."]}               │
│                                                                                          │
╭─ Agent: Headline Summarizer ─────────────────────────────────────────────────────────────╮
│                                                                                          │
│  ✅ Tool call: "duckduckgo_search"                                                       │
│                                                                                          │
│     Tool args: {'query': 'top business news November 2 2023'}                            │
│                                                                                          │
│     Tool result: Nov. 2, 2023 at 6:21 PM EDT The post-Fed party continued Thursday,      │
│     with the S&P 500 recording its best day since April. Read the day's full markets     │
│     roundup here . Today's Headlines. Inside the Deadly Maui Inferno, Hour by Hour. By   │
│     Mike Baker, Malika Khurana, K.K. Rebecca Lai, Riley Mellen, Natalie Reneau, Bedel    │
│     Saget, Elena Shao, Anjali Singhvi and Charlie ... In other news America's biggest    │
│     cities are vying for a hot, new title: best place to ride out dystopia Bob Knight ,  │
│     the famed Indiana basketball coach, has died at age 83 November 2, 2023 at 5:43 PM   │
│     EDT. Save ... the S&P 500 added almost 2% — its best session since April. ... News.  │
│     Markets Economics Technology Politics Green Crypto AI. Search WSJ's digital archive  │
│     of news articles and top headlines from November 2, 2023                             │
│                                                                                          │
╰────────────────────────────────────────────────────────────────────────────  6:17:04 PM ─╯
╭─ Agent: Headline Summarizer ─────────────────────────────────────────────────────────────╮
│                                                                                          │
│  ✅ Tool call: "mark_task_e6439315_successful"                                           │
│                                                                                          │
│     Tool args: {'result': ["On November 2, 2023, the S&P 500 experienced its best day    │
│     since April, with the index adding almost 2% following a positive reaction in the    │
│     markets after the Federal Reserve's recent decision.", "America's largest cities     │
│     are in competition to be recognized as the most suitable places to endure potential  │
│     future dystopian scenarios, as they prepare for various challenges."]}               │
│                                                                                          │
╭─ Agent: Headline Summarizer ─────────────────────────────────────────────────────────────╮
│                                                                                          │
│  ✅ Tool call: "duckduckgo_search"                                                       │
│                                                                                          │
│     Tool args: {'query': 'top business news November 2 2023'}                            │
│                                                                                          │
│     Tool result: Nov. 2, 2023 at 6:21 PM EDT The post-Fed party continued Thursday,      │
│     with the S&P 500 recording its best day since April. Read the day's full markets     │
│     roundup here . Today's Headlines. Inside the Deadly Maui Inferno, Hour by Hour. By   │
│     Mike Baker, Malika Khurana, K.K. Rebecca Lai, Riley Mellen, Natalie Reneau, Bedel    │
│     Saget, Elena Shao, Anjali Singhvi and Charlie ... In other news America's biggest    │
│     cities are vying for a hot, new title: best place to ride out dystopia Bob Knight ,  │
│     the famed Indiana basketball coach, has died at age 83 November 2, 2023 at 5:43 PM   │
│     EDT. Save ... the S&P 500 added almost 2% — its best session since April. ... News.  │
│     Markets Economics Technology Politics Green Crypto AI. Search WSJ's digital archive  │
│     of news articles and top headlines from November 2, 2023                             │
│                                                                                          │
╰────────────────────────────────────────────────────────────────────────────  6:17:04 PM ─╯
╭─ Agent: Headline Summarizer ─────────────────────────────────────────────────────────────╮
│                                                                                          │
│  ✅ Tool call: "mark_task_e6439315_successful"                                           │
│                                                                                          │
│     Tool args: {'result': ["On November 2, 2023, the S&P 500 experienced its best day    │
│     since April, with the index adding almost 2% following a positive reaction in the    │
│     markets after the Federal Reserve's recent decision.", "America's largest cities     │
│     are in competition to be recognized as the most suitable places to endure potential  │
│     future dystopian scenarios, as they prepare for various challenges."]}               │
│                                                                                          │
╭─ Agent: Headline Summarizer ─────────────────────────────────────────────────────────────╮
│                                                                                          │
│  ✅ Tool call: "duckduckgo_search"                                                       │
│                                                                                          │
│     Tool args: {'query': 'top business news November 2 2023'}                            │
│                                                                                          │
│     Tool result: Nov. 2, 2023 at 6:21 PM EDT The post-Fed party continued Thursday,      │
│     with the S&P 500 recording its best day since April. Read the day's full markets     │
│     roundup here . Today's Headlines. Inside the Deadly Maui Inferno, Hour by Hour. By   │
│     Mike Baker, Malika Khurana, K.K. Rebecca Lai, Riley Mellen, Natalie Reneau, Bedel    │
│     Saget, Elena Shao, Anjali Singhvi and Charlie ... In other news America's biggest    │
│     cities are vying for a hot, new title: best place to ride out dystopia Bob Knight ,  │
│     the famed Indiana basketball coach, has died at age 83 November 2, 2023 at 5:43 PM   │
│     EDT. Save ... the S&P 500 added almost 2% — its best session since April. ... News.  │
│     Markets Economics Technology Politics Green Crypto AI. Search WSJ's digital archive  │
│     of news articles and top headlines from November 2, 2023                             │
│                                                                                          │
╰────────────────────────────────────────────────────────────────────────────  6:17:04 PM ─╯
╭─ Agent: Headline Summarizer ─────────────────────────────────────────────────────────────╮
│                                                                                          │
│  ✅ Tool call: "mark_task_e6439315_successful"                                           │
│                                                                                          │
│     Tool args: {'result': ["On November 2, 2023, the S&P 500 experienced its best day    │
│     since April, with the index adding almost 2% following a positive reaction in the    │
│     markets after the Federal Reserve's recent decision.", "America's largest cities     │
│     are in competition to be recognized as the most suitable places to endure potential  │
│     future dystopian scenarios, as they prepare for various challenges."]}               │
│                                                                                          │
╭─ Agent: Headline Summarizer ─────────────────────────────────────────────────────────────╮
│                                                                                          │
│  ✅ Tool call: "duckduckgo_search"                                                       │
│                                                                                          │
│     Tool args: {'query': 'top business news November 2 2023'}                            │
│                                                                                          │
│     Tool result: Nov. 2, 2023 at 6:21 PM EDT The post-Fed party continued Thursday,      │
│     with the S&P 500 recording its best day since April. Read the day's full markets     │
│     roundup here . Today's Headlines. Inside the Deadly Maui Inferno, Hour by Hour. By   │
│     Mike Baker, Malika Khurana, K.K. Rebecca Lai, Riley Mellen, Natalie Reneau, Bedel    │
│     Saget, Elena Shao, Anjali Singhvi and Charlie ... In other news America's biggest    │
│     cities are vying for a hot, new title: best place to ride out dystopia Bob Knight ,  │
│     the famed Indiana basketball coach, has died at age 83 November 2, 2023 at 5:43 PM   │
│     EDT. Save ... the S&P 500 added almost 2% — its best session since April. ... News.  │
│     Markets Economics Technology Politics Green Crypto AI. Search WSJ's digital archive  │
│     of news articles and top headlines from November 2, 2023                             │
│                                                                                          │
╰────────────────────────────────────────────────────────────────────────────  6:17:04 PM ─╯
╭─ Agent: Headline Summarizer ─────────────────────────────────────────────────────────────╮
│                                                                                          │
│  ✅ Tool call: "mark_task_e6439315_successful"                                           │
│                                                                                          │
│     Tool args: {'result': ["On November 2, 2023, the S&P 500 experienced its best day    │
│     since April, with the index adding almost 2% following a positive reaction in the    │
│     markets after the Federal Reserve's recent decision.", "America's largest cities     │
│     are in competition to be recognized as the most suitable places to endure potential  │
│     future dystopian scenarios, as they prepare for various challenges."]}               │
│                                                                                          │
╭─ Agent: Headline Summarizer ─────────────────────────────────────────────────────────────╮
│                                                                                          │
│  ✅ Tool call: "duckduckgo_search"                                                       │
│                                                                                          │
│     Tool args: {'query': 'top business news November 2 2023'}                            │
│                                                                                          │
│     Tool result: Nov. 2, 2023 at 6:21 PM EDT The post-Fed party continued Thursday,      │
│     with the S&P 500 recording its best day since April. Read the day's full markets     │
│     roundup here . Today's Headlines. Inside the Deadly Maui Inferno, Hour by Hour. By   │
│     Mike Baker, Malika Khurana, K.K. Rebecca Lai, Riley Mellen, Natalie Reneau, Bedel    │
│     Saget, Elena Shao, Anjali Singhvi and Charlie ... In other news America's biggest    │
│     cities are vying for a hot, new title: best place to ride out dystopia Bob Knight ,  │
│     the famed Indiana basketball coach, has died at age 83 November 2, 2023 at 5:43 PM   │
│     EDT. Save ... the S&P 500 added almost 2% — its best session since April. ... News.  │
│     Markets Economics Technology Politics Green Crypto AI. Search WSJ's digital archive  │
│     of news articles and top headlines from November 2, 2023                             │
│                                                                                          │
╰────────────────────────────────────────────────────────────────────────────  6:17:04 PM ─╯
╭─ Agent: Headline Summarizer ─────────────────────────────────────────────────────────────╮
│                                                                                          │
│  ✅ Tool call: "mark_task_e6439315_successful"                                           │
│                                                                                          │
│     Tool args: {'result': ["On November 2, 2023, the S&P 500 experienced its best day    │
│     since April, with the index adding almost 2% following a positive reaction in the    │
│     markets after the Federal Reserve's recent decision.", "America's largest cities     │
│     are in competition to be recognized as the most suitable places to endure potential  │
│     future dystopian scenarios, as they prepare for various challenges."]}               │
│                                                                                          │
╭─ Agent: Headline Summarizer ─────────────────────────────────────────────────────────────╮
│                                                                                          │
│  ✅ Tool call: "duckduckgo_search"                                                       │
│                                                                                          │
│     Tool args: {'query': 'top business news November 2 2023'}                            │
│                                                                                          │
│     Tool result: Nov. 2, 2023 at 6:21 PM EDT The post-Fed party continued Thursday,      │
│     with the S&P 500 recording its best day since April. Read the day's full markets     │
│     roundup here . Today's Headlines. Inside the Deadly Maui Inferno, Hour by Hour. By   │
│     Mike Baker, Malika Khurana, K.K. Rebecca Lai, Riley Mellen, Natalie Reneau, Bedel    │
│     Saget, Elena Shao, Anjali Singhvi and Charlie ... In other news America's biggest    │
│     cities are vying for a hot, new title: best place to ride out dystopia Bob Knight ,  │
│     the famed Indiana basketball coach, has died at age 83 November 2, 2023 at 5:43 PM   │
│     EDT. Save ... the S&P 500 added almost 2% — its best session since April. ... News.  │
│     Markets Economics Technology Politics Green Crypto AI. Search WSJ's digital archive  │
│     of news articles and top headlines from November 2, 2023                             │
│                                                                                          │
╰────────────────────────────────────────────────────────────────────────────  6:17:04 PM ─╯
╭─ Agent: Headline Summarizer ─────────────────────────────────────────────────────────────╮
│                                                                                          │
│  ✅ Tool call: "mark_task_e6439315_successful"                                           │
│                                                                                          │
│     Tool args: {'result': ["On November 2, 2023, the S&P 500 experienced its best day    │
│     since April, with the index adding almost 2% following a positive reaction in the    │
│     markets after the Federal Reserve's recent decision.", "America's largest cities     │
│     are in competition to be recognized as the most suitable places to endure potential  │
│     future dystopian scenarios, as they prepare for various challenges."]}               │
│                                                                                          │
╭─ Agent: Headline Summarizer ─────────────────────────────────────────────────────────────╮
│                                                                                          │
│  ✅ Tool call: "duckduckgo_search"                                                       │
│                                                                                          │
│     Tool args: {'query': 'top business news November 2 2023'}                            │
│                                                                                          │
│     Tool result: Nov. 2, 2023 at 6:21 PM EDT The post-Fed party continued Thursday,      │
│     with the S&P 500 recording its best day since April. Read the day's full markets     │
│     roundup here . Today's Headlines. Inside the Deadly Maui Inferno, Hour by Hour. By   │
│     Mike Baker, Malika Khurana, K.K. Rebecca Lai, Riley Mellen, Natalie Reneau, Bedel    │
│     Saget, Elena Shao, Anjali Singhvi and Charlie ... In other news America's biggest    │
│     cities are vying for a hot, new title: best place to ride out dystopia Bob Knight ,  │
│     the famed Indiana basketball coach, has died at age 83 November 2, 2023 at 5:43 PM   │
│     EDT. Save ... the S&P 500 added almost 2% — its best session since April. ... News.  │
│     Markets Economics Technology Politics Green Crypto AI. Search WSJ's digital archive  │
│     of news articles and top headlines from November 2, 2023                             │
│                                                                                          │
╰────────────────────────────────────────────────────────────────────────────  6:17:04 PM ─╯
╭─ Agent: Headline Summarizer ─────────────────────────────────────────────────────────────╮
│                                                                                          │
│  ✅ Tool call: "mark_task_e6439315_successful"                                           │
│                                                                                          │
│     Tool args: {'result': ["On November 2, 2023, the S&P 500 experienced its best day    │
│     since April, with the index adding almost 2% following a positive reaction in the    │
│     markets after the Federal Reserve's recent decision.", "America's largest cities     │
│     are in competition to be recognized as the most suitable places to endure potential  │
│     future dystopian scenarios, as they prepare for various challenges."]}               │
│                                                                                          │
╭─ Agent: Headline Summarizer ─────────────────────────────────────────────────────────────╮
│                                                                                          │
│  ✅ Tool call: "duckduckgo_search"                                                       │
│                                                                                          │
│     Tool args: {'query': 'top business news November 2 2023'}                            │
│                                                                                          │
│     Tool result: Nov. 2, 2023 at 6:21 PM EDT The post-Fed party continued Thursday,      │
│     with the S&P 500 recording its best day since April. Read the day's full markets     │
│     roundup here . Today's Headlines. Inside the Deadly Maui Inferno, Hour by Hour. By   │
│     Mike Baker, Malika Khurana, K.K. Rebecca Lai, Riley Mellen, Natalie Reneau, Bedel    │
│     Saget, Elena Shao, Anjali Singhvi and Charlie ... In other news America's biggest    │
│     cities are vying for a hot, new title: best place to ride out dystopia Bob Knight ,  │
│     the famed Indiana basketball coach, has died at age 83 November 2, 2023 at 5:43 PM   │
│     EDT. Save ... the S&P 500 added almost 2% — its best session since April. ... News.  │
│     Markets Economics Technology Politics Green Crypto AI. Search WSJ's digital archive  │
│     of news articles and top headlines from November 2, 2023                             │
│                                                                                          │
╰────────────────────────────────────────────────────────────────────────────  6:17:04 PM ─╯
╭─ Agent: Headline Summarizer ─────────────────────────────────────────────────────────────╮
│                                                                                          │
│  ✅ Tool call: "mark_task_e6439315_successful"                                           │
│                                                                                          │
│     Tool args: {'result': ["On November 2, 2023, the S&P 500 experienced its best day    │
│     since April, with the index adding almost 2% following a positive reaction in the    │
│     markets after the Federal Reserve's recent decision.", "America's largest cities     │
│     are in competition to be recognized as the most suitable places to endure potential  │
│     future dystopian scenarios, as they prepare for various challenges."]}               │
│                                                                                          │
╭─ Agent: Headline Summarizer ─────────────────────────────────────────────────────────────╮
│                                                                                          │
│  ✅ Tool call: "duckduckgo_search"                                                       │
│                                                                                          │
│     Tool args: {'query': 'top business news November 2 2023'}                            │
│                                                                                          │
│     Tool result: Nov. 2, 2023 at 6:21 PM EDT The post-Fed party continued Thursday,      │
│     with the S&P 500 recording its best day since April. Read the day's full markets     │
│     roundup here . Today's Headlines. Inside the Deadly Maui Inferno, Hour by Hour. By   │
│     Mike Baker, Malika Khurana, K.K. Rebecca Lai, Riley Mellen, Natalie Reneau, Bedel    │
│     Saget, Elena Shao, Anjali Singhvi and Charlie ... In other news America's biggest    │
│     cities are vying for a hot, new title: best place to ride out dystopia Bob Knight ,  │
│     the famed Indiana basketball coach, has died at age 83 November 2, 2023 at 5:43 PM   │
│     EDT. Save ... the S&P 500 added almost 2% — its best session since April. ... News.  │
│     Markets Economics Technology Politics Green Crypto AI. Search WSJ's digital archive  │
│     of news articles and top headlines from November 2, 2023                             │
│                                                                                          │
╰────────────────────────────────────────────────────────────────────────────  6:17:04 PM ─╯
╭─ Agent: Headline Summarizer ─────────────────────────────────────────────────────────────╮
│                                                                                          │
│  ✅ Tool call: "mark_task_e6439315_successful"                                           │
│                                                                                          │
│     Tool args: {'result': ["On November 2, 2023, the S&P 500 experienced its best day    │
│     since April, with the index adding almost 2% following a positive reaction in the    │
│     markets after the Federal Reserve's recent decision.", "America's largest cities     │
│     are in competition to be recognized as the most suitable places to endure potential  │
│     future dystopian scenarios, as they prepare for various challenges."]}               │
│                                                                                          │
╭─ Agent: Headline Summarizer ─────────────────────────────────────────────────────────────╮
│                                                                                          │
│  ✅ Tool call: "duckduckgo_search"                                                       │
│                                                                                          │
│     Tool args: {'query': 'top business news November 2 2023'}                            │
│                                                                                          │
│     Tool result: Nov. 2, 2023 at 6:21 PM EDT The post-Fed party continued Thursday,      │
│     with the S&P 500 recording its best day since April. Read the day's full markets     │
│     roundup here . Today's Headlines. Inside the Deadly Maui Inferno, Hour by Hour. By   │
│     Mike Baker, Malika Khurana, K.K. Rebecca Lai, Riley Mellen, Natalie Reneau, Bedel    │
│     Saget, Elena Shao, Anjali Singhvi and Charlie ... In other news America's biggest    │
│     cities are vying for a hot, new title: best place to ride out dystopia Bob Knight ,  │
│     the famed Indiana basketball coach, has died at age 83 November 2, 2023 at 5:43 PM   │
│     EDT. Save ... the S&P 500 added almost 2% — its best session since April. ... News.  │
│     Markets Economics Technology Politics Green Crypto AI. Search WSJ's digital archive  │
│     of news articles and top headlines from November 2, 2023                             │
│                                                                                          │
╰────────────────────────────────────────────────────────────────────────────  6:17:04 PM ─╯
╭─ Agent: Headline Summarizer ─────────────────────────────────────────────────────────────╮
│                                                                                          │
│  ✅ Tool call: "mark_task_e6439315_successful"                                           │
│                                                                                          │
│     Tool args: {'result': ["On November 2, 2023, the S&P 500 experienced its best day    │
│     since April, with the index adding almost 2% following a positive reaction in the    │
│     markets after the Federal Reserve's recent decision.", "America's largest cities     │
│     are in competition to be recognized as the most suitable places to endure potential  │
│     future dystopian scenarios, as they prepare for various challenges."]}               │
│                                                                                          │
╭─ Agent: Headline Summarizer ─────────────────────────────────────────────────────────────╮
│                                                                                          │
│  ✅ Tool call: "duckduckgo_search"                                                       │
│                                                                                          │
│     Tool args: {'query': 'top business news November 2 2023'}                            │
│                                                                                          │
│     Tool result: Nov. 2, 2023 at 6:21 PM EDT The post-Fed party continued Thursday,      │
│     with the S&P 500 recording its best day since April. Read the day's full markets     │
│     roundup here . Today's Headlines. Inside the Deadly Maui Inferno, Hour by Hour. By   │
│     Mike Baker, Malika Khurana, K.K. Rebecca Lai, Riley Mellen, Natalie Reneau, Bedel    │
│     Saget, Elena Shao, Anjali Singhvi and Charlie ... In other news America's biggest    │
│     cities are vying for a hot, new title: best place to ride out dystopia Bob Knight ,  │
│     the famed Indiana basketball coach, has died at age 83 November 2, 2023 at 5:43 PM   │
│     EDT. Save ... the S&P 500 added almost 2% — its best session since April. ... News.  │
│     Markets Economics Technology Politics Green Crypto AI. Search WSJ's digital archive  │
│     of news articles and top headlines from November 2, 2023                             │
│                                                                                          │
╰────────────────────────────────────────────────────────────────────────────  6:17:04 PM ─╯
╭─ Agent: Headline Summarizer ─────────────────────────────────────────────────────────────╮
│                                                                                          │
│  ✅ Tool call: "mark_task_e6439315_successful"                                           │
│                                                                                          │
│     Tool args: {'result': ["On November 2, 2023, the S&P 500 experienced its best day    │
│     since April, with the index adding almost 2% following a positive reaction in the    │
│     markets after the Federal Reserve's recent decision.", "America's largest cities     │
│     are in competition to be recognized as the most suitable places to endure potential  │
│     future dystopian scenarios, as they prepare for various challenges."]}               │
│                                                                                          │
╭─ Agent: Headline Summarizer ─────────────────────────────────────────────────────────────╮
│                                                                                          │
│  ✅ Tool call: "duckduckgo_search"                                                       │
│                                                                                          │
│     Tool args: {'query': 'top business news November 2 2023'}                            │
│                                                                                          │
│     Tool result: Nov. 2, 2023 at 6:21 PM EDT The post-Fed party continued Thursday,      │
│     with the S&P 500 recording its best day since April. Read the day's full markets     │
│     roundup here . Today's Headlines. Inside the Deadly Maui Inferno, Hour by Hour. By   │
│     Mike Baker, Malika Khurana, K.K. Rebecca Lai, Riley Mellen, Natalie Reneau, Bedel    │
│     Saget, Elena Shao, Anjali Singhvi and Charlie ... In other news America's biggest    │
│     cities are vying for a hot, new title: best place to ride out dystopia Bob Knight ,  │
│     the famed Indiana basketball coach, has died at age 83 November 2, 2023 at 5:43 PM   │
│     EDT. Save ... the S&P 500 added almost 2% — its best session since April. ... News.  │
│     Markets Economics Technology Politics Green Crypto AI. Search WSJ's digital archive  │
│     of news articles and top headlines from November 2, 2023                             │
│                                                                                          │
╰────────────────────────────────────────────────────────────────────────────  6:17:04 PM ─╯
╭─ Agent: Headline Summarizer ─────────────────────────────────────────────────────────────╮
│                                                                                          │
│  ✅ Tool call: "mark_task_e6439315_successful"                                           │
│                                                                                          │
│     Tool args: {'result': ["On November 2, 2023, the S&P 500 experienced its best day    │
│     since April, with the index adding almost 2% following a positive reaction in the    │
│     markets after the Federal Reserve's recent decision.", "America's largest cities     │
│     are in competition to be recognized as the most suitable places to endure potential  │
│     future dystopian scenarios, as they prepare for various challenges."]}               │
│                                                                                          │
│     Tool result: Task #e6439315 ("Retrieve and summarize today's two top business        │
│     he...") marked successful.                                                           │
│                                                                                          │
╭─ Agent: Headline Summarizer ─────────────────────────────────────────────────────────────╮
│                                                                                          │
│  ✅ Tool call: "duckduckgo_search"
│                                                                                          │
│     Tool args: {'query': 'top business news November 2 2023'}                            │
│                                                                                          │
│     Tool result: Nov. 2, 2023 at 6:21 PM EDT The post-Fed party continued Thursday,      │
│     with the S&P 500 recording its best day since April. Read the day's full markets     │
│     roundup here . Today's Headlines. Inside the Deadly Maui Inferno, Hour by Hour. By   │
│     Mike Baker, Malika Khurana, K.K. Rebecca Lai, Riley Mellen, Natalie Reneau, Bedel    │
│     Saget, Elena Shao, Anjali Singhvi and Charlie ... In other news America's biggest    │
│     cities are vying for a hot, new title: best place to ride out dystopia Bob Knight ,  │
│     the famed Indiana basketball coach, has died at age 83 November 2, 2023 at 5:43 PM   │
│     EDT. Save ... the S&P 500 added almost 2% — its best session since April. ... News.  │
│     Markets Economics Technology Politics Green Crypto AI. Search WSJ's digital archive  │
│     of news articles and top headlines from November 2, 2023                             │
│                                                                                          │
╰────────────────────────────────────────────────────────────────────────────  6:17:04 PM ─╯
╭─ Agent: Headline Summarizer ─────────────────────────────────────────────────────────────╮
│                                                                                          │
│  ✅ Tool call: "mark_task_e6439315_successful"
│                                                                                          │
│     Tool args: {'result': ["On November 2, 2023, the S&P 500 experienced its best day    │
│     since April, with the index adding almost 2% following a positive reaction in the    │
│     markets after the Federal Reserve's recent decision.", "America's largest cities     │
│     are in competition to be recognized as the most suitable places to endure potential  │
│     future dystopian scenarios, as they prepare for various challenges."]}               │
│                                                                                          │
│     Tool result: Task #e6439315 ("Retrieve and summarize today's two top business        │
│     he...") marked successful.                                                           │
│                                                                                          │
╰────────────────────────────────────────────────────────────────────────────  6:17:07 PM ─╯
╭─ Agent: Entity Extractor ────────────────────────────────────────────────────────────────╮
│                                                                                          │
│  ✅ Tool call: "mark_task_f59000ff_successful"                                           │
│                                                                                          │
│     Tool args: {'result': "1. S&P 500 - The sentiment is positive as the index           │
│     experienced its best day since April, adding almost 2% following a favorable market  │
│     reaction.\n2. No specific Fortune 500 companies were mentioned in the second         │
│     headline about America's largest cities preparing for dystopian scenarios."}         │
│                                                                                          │
│     Tool result: Task #f59000ff ("Extract any fortune 500 companies mentioned in         │
│     the...") marked successful.                                                          │
│                                                                                          │
╰────────────────────────────────────────────────────────────────────────────  6:17:10 PM ─╯

Example Code

import controlflow as cf
from langchain_community.tools import DuckDuckGoSearchRun


summarizer = cf.Agent(
    name="Headline Summarizer",
    instructions="An AI agent that fetches and summarizes current events",
    tools=[DuckDuckGoSearchRun()],
)

extractor = cf.Agent(
    name="Entity Extractor",
    instructions="An AI agent that does named entity recognition",
)


# @cf.flow()
def get_headlines():

    summarizer_task = cf.Task(
        "Retrieve and summarize today's two top business headlines",
        agents=[summarizer],
        result_type=list[str],
    )

    extractor_task = cf.Task(
        "Extract any fortune 500 companies mentioned in the headlines and whether the sentiment is positive, neutral, or negative",
        agents=[extractor],
        depends_on=[summarizer_task],
    )

    results = cf.run_tasks([summarizer_task, extractor_task])
    return results


if __name__ == "__main__":
    results = get_headlines()
    print(results)

Version Information

ControlFlow version: 0.11.0                                              
       Prefect version: 3.0.10                                              
LangChain Core version: 0.3.12                                              
        Python version: 3.12.2                                              
              Platform: macOS-15.0.1-arm64-arm-64bit                        
                  Path: /opt/homebrew/Caskroom/miniforge/base/lib/python3.12

Additional Context

No response

@discdiver discdiver added the bug Something isn't working label Oct 23, 2024
@zzstoatzz
Copy link
Collaborator

sorry, what's the issue that you're expressing? i.e. what exactly should be different?

you can disable all the pretty logs with CONTROLFLOW_PRETTY_PRINT_AGENT_EVENTS=0

@discdiver
Copy link
Collaborator Author

In previous versions of CF, I did not get dozens of logs. If that can be controlled, by changing the setting CONTROLFLOW_PRETTY_PRINT_AGENT_EVENTS=0, then I think that should be the default.

@jlowin
Copy link
Member

jlowin commented Oct 28, 2024

Is it performing the same task over and over in those logs? Or are those different calls?

@discdiver
Copy link
Collaborator Author

discdiver commented Oct 29, 2024

Just ran it again and saw multiple, slightly different calls. For example:

Tool call: "duckduckgo_search"                             │
│                                                                │
│     Tool args: {'query': 'top business headlines October 20    │
│     2023'}     

Tool call: "duckduckgo_search"                             │
│                                                                │
│     Tool args: {'query': 'business news October 20 2023'}    

Tool call: "duckduckgo_search"                             │
│                                                                │
│     Tool args: {'query': 'top business news October 20 2023'} 

Tool call: "duckduckgo_search"                             │
│                                                                │
│     Tool args: {'query': 'top business news October 20 2023'}  │
│             
Tool call: "duckduckgo_search"                             │
│                                                                │
│     Tool args: {'query': 'business news October 20 2023'}  

I would expect a single call.

Also surprised that the LLM thinks the date is Oct. 20, 2023. I could change my code to be explicitly pass today's date in the instructions (don't remember having to do that previously).

@teocns
Copy link
Contributor

teocns commented Nov 30, 2024

I've actually went through this, and have especially addressed it in a branch somewhere. Leaving a comment here so I get a notif. in case I forget to bring it up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants