File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
coffeeAGNTCY/coffee_agents/lungo/agents/farms/colombia Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -164,12 +164,10 @@ async def _get_weather_forecast(self,state: GraphState) -> str:
164164 mcp_call_result = "No content returned from tool."
165165
166166 logger .info (f"Weather forecast result: { mcp_call_result } " )
167- return {
168- "weather_forecast_success" : True , "weather_forecast" : [AIMessage (mcp_call_result )]}
167+ return {"weather_forecast_success" : True , "weather_forecast" : [AIMessage (mcp_call_result )]}
169168 except Exception as e :
170169 logger .error (f"Error during MCP tool call: { e } " )
171- return {
172- "weather_forecast_success" : False , "weather_forecast" : [AIMessage (f"Weather Forecast MCP Server was Unavailable" )]}
170+ return {"weather_forecast_success" : False , "weather_forecast" : [AIMessage (f"Weather Forecast MCP Server was Unavailable" )]}
173171 finally :
174172 pass
175173
You can’t perform that action at this time.
0 commit comments