Skip to content
This repository was archived by the owner on Jan 28, 2026. It is now read-only.

⏸️ Pausing#879

Merged
asim-shrestha merged 24 commits intomainfrom
pausin
Jun 29, 2023
Merged

⏸️ Pausing#879
asim-shrestha merged 24 commits intomainfrom
pausin

Conversation

@asim-shrestha
Copy link
Copy Markdown
Contributor

@asim-shrestha asim-shrestha commented Jun 28, 2023

About

Add dynamic pausing functionality to AgentGPT

Notes

  • Add new "lifecycle" field to agent state that is running, pausing, paused, or stopped.
  • When pause is clicked, the agent will be in "pausing" until it has finished its current work. Then it will set to "paused" and stop the current run
  • Change action buttons to icons
image

@ergomake
Copy link
Copy Markdown

ergomake Bot commented Jun 28, 2023

Hi 👋

Here's a preview environment 🚀

https://next-reworkd-agentgpt-879.env.ergomake.link

Environment Summary 📑

Container Source URL
next Dockerfile https://next-reworkd-agentgpt-879.env.ergomake.link
docs Dockerfile https://docs-reworkd-agentgpt-879.env.ergomake.link
platform Dockerfile https://platform-reworkd-agentgpt-879.env.ergomake.link
db Dockerfile [not exposed - internal service]
weaviate semitechnologies/weaviate:1.19.6 https://weaviate-reworkd-agentgpt-879.env.ergomake.link

Questions? Comments? Suggestions? Join Discord.

Click here to disable Ergomake.

@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 28, 2023

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

Name Status Preview Comments Updated (UTC)
agent-gpt ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 29, 2023 1:11am
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 29, 2023 1:11am

@vercel vercel Bot temporarily deployed to Preview – docs June 28, 2023 03:45 Inactive
@vercel vercel Bot temporarily deployed to Preview – docs June 28, 2023 03:54 Inactive
@vercel vercel Bot temporarily deployed to Preview – docs June 28, 2023 19:51 Inactive
@vercel vercel Bot temporarily deployed to Preview – docs June 28, 2023 19:52 Inactive
@vercel vercel Bot temporarily deployed to Preview – docs June 28, 2023 19:54 Inactive
Comment thread cli/src/envGenerator.js
Comment thread next/src/services/agent/message-service.ts
Comment thread next/src/pages/index.tsx
Comment thread next/src/pages/index.tsx
Comment thread next/src/pages/index.tsx
Comment thread next/src/pages/index.tsx
Comment thread next/src/pages/index.tsx
addTask(taskValue: string): void;
}

export type AgentLifecycle = "running" | "pausing" | "paused" | "stopped";
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is great. Thoughts on lifecycle vs simple AgentStatus

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Pretty indifferent, we can change in the future

@asim-shrestha asim-shrestha merged commit c90e401 into main Jun 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants