mirror of
https://github.com/run-llama/create-llama.git
synced 2026-07-16 03:04:21 -04:00
[PR #686] [MERGED] feat: support human in the loop for TS #686
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/run-llama/create-llama/pull/686
Author: @thucpn
Created: 6/9/2025
Status: ✅ Merged
Merged: 6/12/2025
Merged by: @thucpn
Base:
main← Head:tp/hitl-for-ts📝 Commits (10+)
e4c07f9feat: support human in the loop for TSeba44a3add example for custom workflow7875178fix: need to request humanResponseEvent to save missing step to snapshotac5a1efrefactor: human response data should be any832f5b6refactor runWorkflow function to support resume stream23fdd51refactor: hitl7b21682fix: workflowddccbcfadd summary event45af254send tool eventbe894dfuse requestId from Vercel📊 Changes
41 files changed (+1653 additions, -91 deletions)
View changed files
➕
.changeset/eight-moons-perform.md(+6 -0)📝
packages/create-llama/e2e/python/resolve_dependencies.spec.ts(+1 -0)📝
packages/create-llama/e2e/shared/llamaindexserver_template.spec.ts(+1 -0)📝
packages/create-llama/e2e/typescript/resolve_dependencies.spec.ts(+3 -1)📝
packages/create-llama/helpers/constant.ts(+9 -0)📝
packages/create-llama/helpers/index.ts(+3 -1)📝
packages/create-llama/helpers/types.ts(+2 -1)📝
packages/create-llama/helpers/typescript.ts(+2 -1)📝
packages/create-llama/questions/simple.ts(+17 -2)➕
packages/create-llama/templates/components/ui/use-cases/hitl/cli_human_input.tsx(+95 -0)➕
packages/create-llama/templates/components/use-cases/python/hitl/README-template.md(+109 -0)➕
packages/create-llama/templates/components/use-cases/python/hitl/events.py(+34 -0)➕
packages/create-llama/templates/components/use-cases/python/hitl/workflow.py(+87 -0)➕
packages/create-llama/templates/components/use-cases/typescript/hitl/README-template.md(+106 -0)➕
packages/create-llama/templates/components/use-cases/typescript/hitl/src/app/events.ts(+12 -0)➕
packages/create-llama/templates/components/use-cases/typescript/hitl/src/app/tools.ts(+20 -0)➕
packages/create-llama/templates/components/use-cases/typescript/hitl/src/app/workflow.ts(+101 -0)📝
packages/create-llama/templates/types/llamaindexserver/nextjs/package.json(+2 -2)📝
packages/server/README.md(+1 -0)➕
packages/server/examples/hitl/README.md(+172 -0)...and 21 more files
📄 Description
Pattern:
Summary by CodeRabbit
New Features
Enhancements
Documentation
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.