langchainrb icon indicating copy to clipboard operation
langchainrb copied to clipboard

Fix weather tool exceptions and units parameter

Open mattlindsey opened this issue 9 months ago • 0 comments

Fixes #175 and replaces PR #193.

  • Catching the exception is still necessary since api errors still occur, and this allows llm to retry.
  • We could also consider having current_weather return an array instead of string, but the string works well.

mattlindsey avatar May 01 '24 18:05 mattlindsey