You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running into error while langgraph is running : TypeError: langgraph.pregel.write.ChannelWrite.do_write() argument after ** must be a mapping, not str
#289
I am using crewai along with langgraph, I use stategraph to create conditional nodes , below is my code
from typing import TypedDict, Any
class AgentState(TypedDict):
action: dict
def condition_check(flag):
print(flag)
if "internet" in flag["action"].lower():
k = "InternetAgent"
elif "pubmed" in flag["action"].lower():
k = "PubMedAgent"
elif "rag" in flag["action"].lower():
k = "RagSystem"
else:
k = "None"
print(k)
return k
def check_route(flag,user_query):
a = [RouterAgent]
task = [router_task(flag,user_query)]
r = Crew(agents=a,tasks=task,verbose=False)
k = r.kickoff()
return {"action": k}
def internet_node(user_query):
pipeline=[internet_task(user_query),summary_task()]
a=[InternetAgent,SummaryWriterAgent]
int_crew=Crew(agents=a,tasks=pipeline,verbose=True)
return int_crew.kickoff()
Entering new CrewAgentExecutor chain...
WARNING:opentelemetry.trace:Overriding of current TracerProvider is not allowed
I now can give a great answer
Final Answer:
Agent to be routed to: InternetAgent
Son of Virat Kohli is Vamika Kohli.
Finished chain.
{'action': 'Agent to be routed to: InternetAgent\n\nSon of Virat Kohli is Vamika Kohli.'}
InternetAgent
[DEBUG]: == Working Agent: Internet Search Agent
[INFO]: == Starting Task: Search the internet for the user query :{'action': 'Agent to be routed to: InternetAgent\n\nSon of Virat Kohli is Vamika Kohli.'} and summarize the output accordingly, do not answer if you think the question is apt for you.
Entering new CrewAgentExecutor chain...
I need to use the Internet Search Tool to find information about Vamika Kohli, the son of Virat Kohli.
Action: Internet Search Tool
Action Input: {"query": "Vamika Kohli son of Virat Kohli"}['https://www.indiatoday.in/sports/cricket/story/virat-kohli-anushka-sharma-announce-birth-of-second-child-akaay-2504838-2024-02-20', 'https://www.hindustantimes.com/cricket/virat-kohli-welcomes-second-child-with-anushka-sharma-vamika-brother-named-akaay-101708442585916.html', 'https://www.gqindia.com/content/this-is-the-meaning-of-virat-kohli-and-anushka-sharmas-childrens-names-akaay-and-vamika']
['Anushka Sharma, Virat Kohli become parents to baby boy, Akaay\nVirat Kohli and Anushka Sharma have announced the birth of their second child, a baby boy named Akaay. \nListen to Story\nLive TV\nShare\nAdvertisement\nVirat Kohli, Anushka Sharma announce birth of second child Akaay (Virat Kohli Instagram)\nIndia Today Sports Desk\nNew Delhi\n,\nUPDATED:\n \nFeb 21, 2024 08:47 IST\nIn Short\nKohli and Anushka were blessed with Akaay on February 15\nKohli had withdrawn from the entire England series\nKohli and Anushka asked the fans to respect their privacy at the moment\nIndian batting star Virat Kohli and Anushka Sharma have announced the birth of their second child, a baby boy named Akaay on February 20, Tuesday. \nIn a statement released on both their social media profiles, Kohli and Anushka said that the boy was born on 15th February. The duo would go on to request the fans to respect their privacy at the moment. \nadvertisement\n"With abundant happiness and our hearts all of love, we are pleased to inform everyone that on 15th February, we welcomed our baby boy Akaay & Vamika's little brother into this world!"\n"We seek your blessings and good wishes in this beautiful time in our lives. We request you to kindly respect our privacy at this time."\n"Love & Gratitude. Virat & Anushka," read the statement from Anushka Sharma on her Instagram post. \n\n\n\n\n\n\n\n\n \n\n\n\n\n \n\n\n \n\n\n\n\n\n\n \n\n\n\n\n\n\nView this post on Instagram\n\n\n\n\n \n\n\n\n\n\n\n \n\n\n \n\n\n \n\n\n\n\n\n\n \n\n\n \n\n\n\n\n\n\n \n\n\n \n\n\n \n\n\n\n\n\n\n\n\n \n\n\n \n\n\n\n\nA post shared by AnushkaSharma1588 (@Anushkasharma)\n\n\n\n\n\n\nKohli would also post the same message on social media. \n\n\n\n\nâ\x9däï¸\x8f \npic.twitter.com/BgpfycayI4\n\n— Virat Kohli (@imVkohli) \nFebruary 20, 2024\n\n\nKohli and Anushka Sharma tied the knot in 2017. The star couple celebrated the third birthday of Vamika, their daughter, on 11 January 2024. \nNotably, Kohli had prioritised family in 2021 as the then captain had returned home after the first of a 4-Test series against Australiaa to be with his wife during the birth of their first child.\nThe Indian star had initially withdrawn from the first two Tests against England, where India had lost the first match in Hyderabad and won the second one in Vizag. However, \nthe Indian star would then go on to withdraw from the whole series\n, citing personal reasons and the BCCI backing his decision. \nAB de Villiers had initially revealed on his YouTube channel that Kohli and Anushka were expecting their second child. However, a few days later, \nthe former South African skipper would perform a U-turn\n and said that he didn't know why Kohli had taken a break. \nWhat is the meaning of the name Akaay?\nThe name Akaay is a hindi name with Turkish origin. According to the Google search engine, the name means "Illuminating light of the full moon."\nAccording to Sanskrit language, the name Akaay means "immortal" or "non-decaying". It is a unique and meaningful name that reflects the couple's cultural roots and love for traditional Indian names.\nPublished By: \nalan john\nPublished On: \nFeb 20, 2024\nTune In\nRead More: | \n IPL 2024: How Gujarat Titans new recruit Shahrukh Khan benefits from staying away from social media\n \n\n\nWatch Live TV\n \nAdvertisement\nAlso Watch\n24:52\nChandigarh mayor poll: Supreme Court declares AAP candidate Kuldeep Kumar winner\n17:49\nArvind Kejriwal hails Supreme Court verdict, calls it big victory for INDIA bloc\n15:12\nDid Samajwadi-Congress alliance talks hit a dead-end? Big debate with Preeti Choudhry\n11:20\n'This BJP believes in victory at all costs': Abhishek Manu Singhvi\n0:26\nVideo: Security forces offer ride to groom amid snow in Jammu and Kashmir\nAdvertisement\nRead This\n'Delhi Chalo' march paused for night after day of violence, over 60 injured\nWatch: Ashok Chavan’s blooper, Devendra Fadnavis corrects him, bursts of laughter\n1 dead, 21 injured in Kansas City after shooting during Super Bowl victory rally\n‘Congress doesn’t deserve but we’ll offer 1 seat’: AAP’s take-it-or-leave-it\nEx-Maharashtra Chief Minister Ashok Chavan joins BJP, day after quitting Congress\nAdvertisement', "Entertainment\nThis is the meaning of Virat Kohli & Anushka Sharma's children's names — Akaay and Vamika\nVirat Kohli and Anushka Sharma welcomed a baby boy, who they named Akaay, on February 15, 2024…\nBy \nKarishma Shetty\n21 February 2024\nVirat Kohli and \nAnushka Sharma\n announced on Instagram that they've become parents to a baby boy, their second child, who they have named Akaay. In a joint statement, the couple penned: \n“With abundant happiness and our hearts full of love, we are pleased to inform everyone that on 15th February, we welcomed our baby boy Akaay & Vamika’s little brother into this world!”\n“We seek your blessings and good wishes in this beautiful time in our lives. We request you to kindly respect our privacy at this time. Love & Gratitude, Virat & Anushka,”\n \nVirushka\n added. Ever since the announcement, there has been intrigue surrounding Akaay’s name and its meaning…\nWhat is the meaning of Virat Kohli & Anushka Sharma’s son Akaay’s name?\nInstagram content\nThis content can also be viewed on the site it \noriginates\n from.\nThe name Akaay, according to WION, has different meanings in different languages. According to Times of India, Akaay means unity or oneness, while in \nSanskrit\n, it is derived from Aikya, signifying singular, supreme and limitless power. In Hindi, Akaay could be derived from Kaya, which means body. Akaay could possibly be a Turkish-originated name, which according to WION, means: “Near a full moon or illuminating light of the full moon or full moon.”\nWhat is the meaning of Virat Kohli & Anushka Sharma’s daughter Vamika’s name?\nAccording to Times of India, \nVamika\n is derived from Sanskrit and refers to Goddess Durga, in her divine mother avatar. Vamika means protection, strength, and maternal love, and it additionally represents creativity. Vama, in particular, is associated with the left-handed aspect, which in turn symbolises artistic expression and intuitive abilities. Vamika is a name of rich cultural and spiritual significance and is an amalgamation of nurturing, empowerment and artistic flair.\nRead more entertainment stories\xa0\nFind out how much Christopher Nolan earned from \nOppenheimer\n which made around Rs 8,000 Crore at the BO\nAashram 4\n release date: Know about Bobby Deol's show's release date, storyline and more\nAjay Devgn's 5 ultra-expensive possessions — A luxurious bungalow, a private jet and more\nHospital Playlist\n actor Jo Jung Suk on \nCaptivating the King\n’s satisfying ending\nNot Deepika Padukone or Priyanka Chopra, but this Bollywood actress is joining YRF's Spy Universe\nKeywords\nVirat Kohli\nANUSHKA SHARMA\nstar kids\nBOLLYWOOD\nCricket\nGQ Recommends\nGet Smart\nMeet Anant Ambani’s future in-laws — Viren and Shaila Merchant — who have a net worth of over Rs 750 Crore and run a leading pharma company\nBy \nSanjana Ray\nGet Smart\nWho is the richest amongst Mukesh Ambani & Nita Ambani’s 3 children’s in-laws — Anand Piramal’s family, Shloka Mehta’s family or Radhika Merchant’s family?\nBy \nKarishma Shetty\nRelationships\n7 lessons you can learn from Virat Kohli on how to be a good partner\nBy \n Saloni Dhruv\nGet Smart\nCheck out the massive net worth of Anant Ambani and Radhika Merchant\nBy \nGaurav Sonavane\nLook Good\nCan Ayurveda fix your irregular food habits, insomnia and sex-related issues? This book thinks so\nBy \n Saloni Dhruv\nGet Smart\nCristiano Ronaldo gave this expensive gift to girlfriend Georgina Rodriguez on her birthday. Check it out\nBy \nUmaima Saeed\nGet Smart\nFrom Nita Ambani gifting a Rs 451 Crore necklace to Shloka Mehta to Narayana Murthy gifting Rs 240 Crore shares to his grandchild, here are 7 ridiculously expensive gifts Indian billionaires have given their families\nBy \nSanjana Ray\nGet Smart\nNita Ambani & Mukesh Ambani shower Radhika Merchant with luxurious gifts — a Bentley Continental GTC Speed, a silver Laxmi-Ganesh gift hamper & more\nBy \nGaurav Sonavane"]
Final Answer:
Anushka Sharma and Virat Kohli welcomed their second child, a baby boy named Akaay, on February 15, 2024. The couple shared the news on their social media profiles, requesting privacy and blessings from fans. Akaay's name has different meanings in various languages, including unity or oneness, supreme power, and illuminating light of the full moon. The meaning of Vamika, their daughter's name, is derived from Sanskrit and refers to Goddess Durga in her divine mother avatar, symbolizing protection, strength, and maternal love. The names chosen by the couple reflect their cultural roots and love for traditional Indian names.
Finished chain.
[DEBUG]: == [Internet Search Agent] Task output: Anushka Sharma and Virat Kohli welcomed their second child, a baby boy named Akaay, on February 15, 2024. The couple shared the news on their social media profiles, requesting privacy and blessings from fans. Akaay's name has different meanings in various languages, including unity or oneness, supreme power, and illuminating light of the full moon. The meaning of Vamika, their daughter's name, is derived from Sanskrit and refers to Goddess Durga in her divine mother avatar, symbolizing protection, strength, and maternal love. The names chosen by the couple reflect their cultural roots and love for traditional Indian names.
[DEBUG]: == Working Agent: Summary Writer Agent
[INFO]: == Starting Task: Summarize the outputs of the agents only if it is able to give an answer.
Entering new CrewAgentExecutor chain...
I now can give a great answer
Final Answer: Anushka Sharma and Virat Kohli welcomed their second child, a baby boy named Akaay, on February 15, 2024. The couple shared the news on their social media profiles, requesting privacy and blessings from fans. Akaay's name has different meanings in various languages, including unity or oneness, supreme power, and illuminating light of the full moon. The meaning of Vamika, their daughter's name, is derived from Sanskrit and refers to Goddess Durga in her divine mother avatar, symbolizing protection, strength, and maternal love. The names chosen by the couple reflect their cultural roots and love for traditional Indian names.
Finished chain.
[DEBUG]: == [Summary Writer Agent] Task output: Anushka Sharma and Virat Kohli welcomed their second child, a baby boy named Akaay, on February 15, 2024. The couple shared the news on their social media profiles, requesting privacy and blessings from fans. Akaay's name has different meanings in various languages, including unity or oneness, supreme power, and illuminating light of the full moon. The meaning of Vamika, their daughter's name, is derived from Sanskrit and refers to Goddess Durga in her divine mother avatar, symbolizing protection, strength, and maternal love. The names chosen by the couple reflect their cultural roots and love for traditional Indian names.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am using crewai along with langgraph, I use stategraph to create conditional nodes , below is my code
from typing import TypedDict, Any
class AgentState(TypedDict):
action: dict
def condition_check(flag):
print(flag)
if "internet" in flag["action"].lower():
k = "InternetAgent"
elif "pubmed" in flag["action"].lower():
k = "PubMedAgent"
elif "rag" in flag["action"].lower():
k = "RagSystem"
else:
k = "None"
print(k)
return k
def check_route(flag,user_query):
a = [RouterAgent]
task = [router_task(flag,user_query)]
r = Crew(agents=a,tasks=task,verbose=False)
k = r.kickoff()
return {"action": k}
def internet_node(user_query):
pipeline=[internet_task(user_query),summary_task()]
a=[InternetAgent,SummaryWriterAgent]
int_crew=Crew(agents=a,tasks=pipeline,verbose=True)
return int_crew.kickoff()
def pubmed_node(user_query):
pipeline=[pubmed_task(user_query),summary_task()]
a=[PubMedAgent,SummaryWriterAgent]
pub_crew=Crew(agents=a,tasks=pipeline,verbose=True)
return pub_crew.kickoff()
def all_node(flag,user_query):
pipeline=[router_task(user_query),internet_task(user_query),pubmed_task(user_query),summary_task()]
a=[RouterAgent,InternetAgent,PubMedAgent,SummaryWriterAgent]
all_crew=Crew(agents=a,tasks=pipeline,verbose=True)
return all_crew.kickoff()
from langgraph.graph import StateGraph,END
class Workflow():
def init(self,flag,user_query):
flag="Internet"
user_query = "who is virat kohli's son?"
workflow = Workflow(flag,user_query)
app = workflow.app
app.invoke({})
I receive this output
'''
Final Answer:
Agent to be routed to: InternetAgent
Son of Virat Kohli is Vamika Kohli.
Action: Internet Search Tool
Action Input: {"query": "Vamika Kohli son of Virat Kohli"}['https://www.indiatoday.in/sports/cricket/story/virat-kohli-anushka-sharma-announce-birth-of-second-child-akaay-2504838-2024-02-20', 'https://www.hindustantimes.com/cricket/virat-kohli-welcomes-second-child-with-anushka-sharma-vamika-brother-named-akaay-101708442585916.html', 'https://www.gqindia.com/content/this-is-the-meaning-of-virat-kohli-and-anushka-sharmas-childrens-names-akaay-and-vamika']
['Anushka Sharma, Virat Kohli become parents to baby boy, Akaay\nVirat Kohli and Anushka Sharma have announced the birth of their second child, a baby boy named Akaay. \nListen to Story\nLive TV\nShare\nAdvertisement\nVirat Kohli, Anushka Sharma announce birth of second child Akaay (Virat Kohli Instagram)\nIndia Today Sports Desk\nNew Delhi\n,\nUPDATED:\n \nFeb 21, 2024 08:47 IST\nIn Short\nKohli and Anushka were blessed with Akaay on February 15\nKohli had withdrawn from the entire England series\nKohli and Anushka asked the fans to respect their privacy at the moment\nIndian batting star Virat Kohli and Anushka Sharma have announced the birth of their second child, a baby boy named Akaay on February 20, Tuesday. \nIn a statement released on both their social media profiles, Kohli and Anushka said that the boy was born on 15th February. The duo would go on to request the fans to respect their privacy at the moment. \nadvertisement\n"With abundant happiness and our hearts all of love, we are pleased to inform everyone that on 15th February, we welcomed our baby boy Akaay & Vamika's little brother into this world!"\n"We seek your blessings and good wishes in this beautiful time in our lives. We request you to kindly respect our privacy at this time."\n"Love & Gratitude. Virat & Anushka," read the statement from Anushka Sharma on her Instagram post. \n\n\n\n\n\n\n\n\n \n\n\n\n\n \n\n\n \n\n\n\n\n\n\n \n\n\n\n\n\n\nView this post on Instagram\n\n\n\n\n \n\n\n\n\n\n\n \n\n\n \n\n\n \n\n\n\n\n\n\n \n\n\n \n\n\n\n\n\n\n \n\n\n \n\n\n \n\n\n\n\n\n\n\n\n \n\n\n \n\n\n\n\nA post shared by AnushkaSharma1588 (@Anushkasharma)\n\n\n\n\n\n\nKohli would also post the same message on social media. \n\n\n\n\nâ\x9däï¸\x8f \npic.twitter.com/BgpfycayI4\n\n— Virat Kohli (@imVkohli) \nFebruary 20, 2024\n\n\nKohli and Anushka Sharma tied the knot in 2017. The star couple celebrated the third birthday of Vamika, their daughter, on 11 January 2024. \nNotably, Kohli had prioritised family in 2021 as the then captain had returned home after the first of a 4-Test series against Australiaa to be with his wife during the birth of their first child.\nThe Indian star had initially withdrawn from the first two Tests against England, where India had lost the first match in Hyderabad and won the second one in Vizag. However, \nthe Indian star would then go on to withdraw from the whole series\n, citing personal reasons and the BCCI backing his decision. \nAB de Villiers had initially revealed on his YouTube channel that Kohli and Anushka were expecting their second child. However, a few days later, \nthe former South African skipper would perform a U-turn\n and said that he didn't know why Kohli had taken a break. \nWhat is the meaning of the name Akaay?\nThe name Akaay is a hindi name with Turkish origin. According to the Google search engine, the name means "Illuminating light of the full moon."\nAccording to Sanskrit language, the name Akaay means "immortal" or "non-decaying". It is a unique and meaningful name that reflects the couple's cultural roots and love for traditional Indian names.\nPublished By: \nalan john\nPublished On: \nFeb 20, 2024\nTune In\nRead More: | \n IPL 2024: How Gujarat Titans new recruit Shahrukh Khan benefits from staying away from social media\n \n\n\nWatch Live TV\n \nAdvertisement\nAlso Watch\n24:52\nChandigarh mayor poll: Supreme Court declares AAP candidate Kuldeep Kumar winner\n17:49\nArvind Kejriwal hails Supreme Court verdict, calls it big victory for INDIA bloc\n15:12\nDid Samajwadi-Congress alliance talks hit a dead-end? Big debate with Preeti Choudhry\n11:20\n'This BJP believes in victory at all costs': Abhishek Manu Singhvi\n0:26\nVideo: Security forces offer ride to groom amid snow in Jammu and Kashmir\nAdvertisement\nRead This\n'Delhi Chalo' march paused for night after day of violence, over 60 injured\nWatch: Ashok Chavan’s blooper, Devendra Fadnavis corrects him, bursts of laughter\n1 dead, 21 injured in Kansas City after shooting during Super Bowl victory rally\n‘Congress doesn’t deserve but we’ll offer 1 seat’: AAP’s take-it-or-leave-it\nEx-Maharashtra Chief Minister Ashok Chavan joins BJP, day after quitting Congress\nAdvertisement', "Entertainment\nThis is the meaning of Virat Kohli & Anushka Sharma's children's names — Akaay and Vamika\nVirat Kohli and Anushka Sharma welcomed a baby boy, who they named Akaay, on February 15, 2024…\nBy \nKarishma Shetty\n21 February 2024\nVirat Kohli and \nAnushka Sharma\n announced on Instagram that they've become parents to a baby boy, their second child, who they have named Akaay. In a joint statement, the couple penned: \n“With abundant happiness and our hearts full of love, we are pleased to inform everyone that on 15th February, we welcomed our baby boy Akaay & Vamika’s little brother into this world!”\n“We seek your blessings and good wishes in this beautiful time in our lives. We request you to kindly respect our privacy at this time. Love & Gratitude, Virat & Anushka,”\n \nVirushka\n added. Ever since the announcement, there has been intrigue surrounding Akaay’s name and its meaning…\nWhat is the meaning of Virat Kohli & Anushka Sharma’s son Akaay’s name?\nInstagram content\nThis content can also be viewed on the site it \noriginates\n from.\nThe name Akaay, according to WION, has different meanings in different languages. According to Times of India, Akaay means unity or oneness, while in \nSanskrit\n, it is derived from Aikya, signifying singular, supreme and limitless power. In Hindi, Akaay could be derived from Kaya, which means body. Akaay could possibly be a Turkish-originated name, which according to WION, means: “Near a full moon or illuminating light of the full moon or full moon.”\nWhat is the meaning of Virat Kohli & Anushka Sharma’s daughter Vamika’s name?\nAccording to Times of India, \nVamika\n is derived from Sanskrit and refers to Goddess Durga, in her divine mother avatar. Vamika means protection, strength, and maternal love, and it additionally represents creativity. Vama, in particular, is associated with the left-handed aspect, which in turn symbolises artistic expression and intuitive abilities. Vamika is a name of rich cultural and spiritual significance and is an amalgamation of nurturing, empowerment and artistic flair.\nRead more entertainment stories\xa0\nFind out how much Christopher Nolan earned from \nOppenheimer\n which made around Rs 8,000 Crore at the BO\nAashram 4\n release date: Know about Bobby Deol's show's release date, storyline and more\nAjay Devgn's 5 ultra-expensive possessions — A luxurious bungalow, a private jet and more\nHospital Playlist\n actor Jo Jung Suk on \nCaptivating the King\n’s satisfying ending\nNot Deepika Padukone or Priyanka Chopra, but this Bollywood actress is joining YRF's Spy Universe\nKeywords\nVirat Kohli\nANUSHKA SHARMA\nstar kids\nBOLLYWOOD\nCricket\nGQ Recommends\nGet Smart\nMeet Anant Ambani’s future in-laws — Viren and Shaila Merchant — who have a net worth of over Rs 750 Crore and run a leading pharma company\nBy \nSanjana Ray\nGet Smart\nWho is the richest amongst Mukesh Ambani & Nita Ambani’s 3 children’s in-laws — Anand Piramal’s family, Shloka Mehta’s family or Radhika Merchant’s family?\nBy \nKarishma Shetty\nRelationships\n7 lessons you can learn from Virat Kohli on how to be a good partner\nBy \n Saloni Dhruv\nGet Smart\nCheck out the massive net worth of Anant Ambani and Radhika Merchant\nBy \nGaurav Sonavane\nLook Good\nCan Ayurveda fix your irregular food habits, insomnia and sex-related issues? This book thinks so\nBy \n Saloni Dhruv\nGet Smart\nCristiano Ronaldo gave this expensive gift to girlfriend Georgina Rodriguez on her birthday. Check it out\nBy \nUmaima Saeed\nGet Smart\nFrom Nita Ambani gifting a Rs 451 Crore necklace to Shloka Mehta to Narayana Murthy gifting Rs 240 Crore shares to his grandchild, here are 7 ridiculously expensive gifts Indian billionaires have given their families\nBy \nSanjana Ray\nGet Smart\nNita Ambani & Mukesh Ambani shower Radhika Merchant with luxurious gifts — a Bentley Continental GTC Speed, a silver Laxmi-Ganesh gift hamper & more\nBy \nGaurav Sonavane"]
Final Answer:
Anushka Sharma and Virat Kohli welcomed their second child, a baby boy named Akaay, on February 15, 2024. The couple shared the news on their social media profiles, requesting privacy and blessings from fans. Akaay's name has different meanings in various languages, including unity or oneness, supreme power, and illuminating light of the full moon. The meaning of Vamika, their daughter's name, is derived from Sanskrit and refers to Goddess Durga in her divine mother avatar, symbolizing protection, strength, and maternal love. The names chosen by the couple reflect their cultural roots and love for traditional Indian names.
[DEBUG]: == Working Agent: Summary Writer Agent
[INFO]: == Starting Task: Summarize the outputs of the agents only if it is able to give an answer.
Final Answer: Anushka Sharma and Virat Kohli welcomed their second child, a baby boy named Akaay, on February 15, 2024. The couple shared the news on their social media profiles, requesting privacy and blessings from fans. Akaay's name has different meanings in various languages, including unity or oneness, supreme power, and illuminating light of the full moon. The meaning of Vamika, their daughter's name, is derived from Sanskrit and refers to Goddess Durga in her divine mother avatar, symbolizing protection, strength, and maternal love. The names chosen by the couple reflect their cultural roots and love for traditional Indian names.
TypeError Traceback (most recent call last)
in <cell line: 13>()
11 app = workflow.app
12 #inputs={"flag":flag,"user_query":user_query}
---> 13 app.invoke({})
13 frames
/usr/local/lib/python3.10/dist-packages/langgraph/graph/state.py in _update_state(input, config)
91 def _update_state(input: dict[str, Any], config: RunnableConfig) -> dict[str, Any]:
92 if input is not None:
---> 93 ChannelWrite.do_write(config, **input)
94 return input
95
TypeError: langgraph.pregel.write.ChannelWrite.do_write() argument after ** must be a mapping, not str
Beta Was this translation helpful? Give feedback.
All reactions