Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runAgent implementation, finalized postUserMessage modulo configuration #1317

Merged
merged 1 commit into from
Sep 8, 2023

Conversation

spolu
Copy link
Contributor

@spolu spolu commented Sep 8, 2023

Fixes #1301

Implements runAgent
Added parallel execution of agents and proper stitching of the conversation object passed to runAgent

@spolu spolu requested review from PopDaph and fontanierh September 8, 2023 09:13
Copy link
Contributor

@fontanierh fontanierh left a comment

Choose a reason for hiding this comment

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

Looks great !

}
}
} else {
throw new Error(
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: would be nicer to throw early instead of indenting the whole code inside the if (easier to read / understand if I can pop that branch off my mental stack)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In the future with more actions this construct will make more sense?

@spolu spolu merged commit 47f757a into main Sep 8, 2023
1 check passed
@spolu spolu deleted the spolu-run_agent branch September 8, 2023 09:47
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.

Implement runAgent
2 participants