Skip to content

Commit a00ac2e

Browse files
RedactedJulianLegler
authored andcommitted
chore(colombia-agent): fixed style error introduced in last commit
Signed-off-by: Redacted <[email protected]> Signed-off-by: Julian Legler <[email protected]>
1 parent 55f8487 commit a00ac2e

File tree

1 file changed

+2
-4
lines changed
  • coffeeAGNTCY/coffee_agents/lungo/agents/farms/colombia

1 file changed

+2
-4
lines changed

coffeeAGNTCY/coffee_agents/lungo/agents/farms/colombia/agent.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)