Skip to content

feat (core): add maxAutomaticRoundtrips setting to generateText#1750

Merged
lgrammel merged 8 commits intomainfrom
lg/automatic-roundtrips
May 30, 2024
Merged

feat (core): add maxAutomaticRoundtrips setting to generateText#1750
lgrammel merged 8 commits intomainfrom
lg/automatic-roundtrips

Conversation

@lgrammel
Copy link
Copy Markdown
Collaborator

@lgrammel lgrammel commented May 30, 2024

Summary

  • Adds maxAutomaticRoundtrips setting to generateText. This enables automatic looping to feed back tool results to the LLM.
  • Adds math agent example

Tasks

  • implement
  • add example
  • add tests
  • docs
  • changeset

Future Work

  • Implement something similar in streamText and streamUI

@lgrammel lgrammel self-assigned this May 30, 2024
@socket-security
Copy link
Copy Markdown

socket-security bot commented May 30, 2024

New dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/mathjs@12.4.2 None +10 11.3 MB josdejong

View full report↗︎

@lgrammel lgrammel marked this pull request as ready for review May 30, 2024 08:43
@lgrammel lgrammel merged commit 0e1da47 into main May 30, 2024
@lgrammel lgrammel deleted the lg/automatic-roundtrips branch May 30, 2024 09:24
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.

2 participants