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

Prototype runner #48

Merged
merged 11 commits into from
Oct 25, 2024
Merged

Prototype runner #48

merged 11 commits into from
Oct 25, 2024

Conversation

toyamarinyon
Copy link
Contributor

Note

This change is a prototype for flow execution. Since we cannot yet verify its operation, we will release it in private beta status.

Note

After merging, please perform schema and data migration. For details, please check the "Release Flow:" section.

This pull request introduces a new flow management system to the playground application, including actions, reducers, and UI components to handle flow state and execution. The most important changes include adding new types and actions for flow management, implementing a reducer to handle flow actions, creating a run button component, and updating the header and viewer components to integrate the new flow functionalities.

Flow Management System:

Reducer and Context Updates:

UI Components:

Flow Execution:

These changes collectively introduce a robust flow management system, enhancing the application's ability to manage and execute complex workflows.

Release flow

Migrate schema

 bun drizzle-kit migrate

Migrate data

bun scripts/20241024-db-patch-add-agent-id.ts

@toyamarinyon toyamarinyon requested a review from shige as a code owner October 24, 2024 09:05
Copy link

vercel bot commented Oct 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
giselle ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 24, 2024 0:48am

Copy link
Member

@shige shige left a comment

Choose a reason for hiding this comment

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

I added comments on the points I wanted to confirm.
Please check them!

app/(playground)/p/[agentId]/beta-proto/graph/provider.tsx Outdated Show resolved Hide resolved
app/(playground)/p/[agentId]/beta-proto/graph/provider.tsx Outdated Show resolved Hide resolved
app/(playground)/p/[agentId]/page.tsx Outdated Show resolved Hide resolved
@shige shige added the enhancement New feature or request label Oct 24, 2024
@toyamarinyon
Copy link
Contributor Author

@shige I forgot to remove the debugging code. I've removed it now, please review again.

Copy link
Member

@shige shige left a comment

Choose a reason for hiding this comment

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

LGTM 💯
Thank you for fixing it right away!

Tomorrow morning, I'll deploy, migrate, and update the database. 📆

@shige shige merged commit 33646e1 into main Oct 25, 2024
9 checks passed
@shige shige deleted the run-1 branch October 25, 2024 00:07
@shige
Copy link
Member

shige commented Oct 25, 2024

FYI: Released 🚀 @toyamarinyon

  • deployed to production
  • bun drizzle-kit migrate
  • bun scripts/20241024-db-patch-add-agent-id.ts
Starting the update of agent data to set 'agentId' property on graph.
Updating 73 agents...
  ├ Processing chunk 1/8 (10 agents)
  │ └ Completed chunk 1/8
  ├ Processing chunk 2/8 (10 agents)
  │ └ Completed chunk 2/8
  ├ Processing chunk 3/8 (10 agents)
  │ └ Completed chunk 3/8
  ├ Processing chunk 4/8 (10 agents)
  │ └ Completed chunk 4/8
  ├ Processing chunk 5/8 (10 agents)
  │ └ Completed chunk 5/8
  ├ Processing chunk 6/8 (10 agents)
  │ └ Completed chunk 6/8
  ├ Processing chunk 7/8 (10 agents)
  │ └ Completed chunk 7/8
  ├ Processing chunk 8/8 (3 agents)
  │ └ Completed chunk 8/8
All agents have been successfully updated!
  • checked the operations in production

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants