Skip to content

Conversation

@JulianLegler
Copy link

Results of the weather service MCP invocation are now actually used in the inventory prompt of the colombia farm agent to influence the expected yield. That was not the case, at least from how I understood the code.

Description

Previously the weather MCP service was called, but the result was not used afterward as it was not passed to any following prompts. This PR is changing this behavior by using it in the inventory node prompt. The yield is now estimated based on a given constant yield for Colombia (5000 lbs) plus an additional 100 lbs per one temperature unit above 0.
Therefore, at least somehow include the weather data in the workflow.

For e.g. a returned temperature of 29.6 °C the agent will now return 7960 lbs (5000 lbs + 2960 lbs)

Issue Link

No Issue posted. Just saw this while playing around with it and noticed it.

Type of Change

  • Bugfix
  • New Feature
  • Breaking Change
  • Refactor
  • Documentation
  • Other (please describe)

Checklist

  • I have read the contributing guidelines
  • Existing issues have been referenced (where applicable)
  • I have verified this change is not present in other open pull requests
  • Functionality is documented
  • All code style checks pass
  • New code contribution is covered by automated tests
  • All new and existing tests pass

@JulianLegler JulianLegler force-pushed the main branch 2 times, most recently from a00ac2e to 14c9e19 Compare February 9, 2026 16:30
@nandu-gh nandu-gh removed the request for review from therealaditigupta February 10, 2026 01:07
Copy link
Contributor

@codyhartsook codyhartsook left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good, thank for providing this fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants