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

feat: abstract model and remove context #16

Merged
merged 5 commits into from
Dec 7, 2024
Merged

Conversation

grabbou
Copy link
Collaborator

@grabbou grabbou commented Dec 7, 2024

Quite a few changes, but here's breakdown:

  • Removed context and made it flat with Workflow
  • Removed workflow.message.push in favor of passing messages as second argument in recursion. This will make workflow immutable and less stable in case it goes in parallel
  • Moved selectAgent and getNextTask to supervisor
  • Moved remaining files from index to teamwork (this is where main execution happens)

@grabbou grabbou requested a review from pkarw December 7, 2024 15:30
packages/framework/src/agent.ts Outdated Show resolved Hide resolved
packages/framework/src/executor.ts Outdated Show resolved Hide resolved
@grabbou
Copy link
Collaborator Author

grabbou commented Dec 7, 2024

Going to go ahead and merge it as @pkarw confirmed in DMs it's good to go!

@grabbou grabbou merged commit 0c38b45 into main Dec 7, 2024
@grabbou grabbou deleted the feat/refactor-abstractions branch December 7, 2024 15:51
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