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

Stream output of a user project with serve #292

Draft
wants to merge 12 commits into
base: deploy-command
Choose a base branch
from

Conversation

tcdent
Copy link
Collaborator

@tcdent tcdent commented Feb 12, 2025

  • Shared logic for running user projects between serve and cli
  • Added a new log method log.stream which can be appended to (doesn't insert newlines).
  • Added a new log handler for streaming log information to other parts of the app (preserves existing stdout/stderr)
  • Allows custom framework to be executed but not modified.
  • Verify POST /process & callbacks
  • Is messy; cleanup serve.py
  • type checking
  • Docker needs more work

Currently testing this inside a project dir with: python ../AgentStack/agentstack/serve/serve.py

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