-
Notifications
You must be signed in to change notification settings - Fork 192
feat: Add artifact use case and use new the workflow for Typescript #595
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: Add artifact use case and use new the workflow for Typescript #595
Conversation
🦋 Changeset detectedLatest commit: afcd53e The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Caution Review failedThe pull request is closed. WalkthroughThis update introduces new TypeScript artifact workflows, refactors existing workflows to use a middleware-driven event-based architecture, updates dependencies, and adds documentation. It also standardizes import paths, enhances workflow event schemas, and modifies file copying logic for workflow templates. Several dependency versions are updated or added across templates. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Frontend
participant WorkflowFactory
participant Workflow
participant LLM
User->>Frontend: Submit input
Frontend->>WorkflowFactory: Send request with input
WorkflowFactory->>Workflow: Create workflow instance
Workflow->>Workflow: Handle startAgentEvent (store input)
Workflow->>LLM: Plan (analyze input/context)
LLM-->>Workflow: Return requirement/plan
Workflow->>Workflow: Decide next step (coding or answering)
alt Coding
Workflow->>LLM: Generate code artifact
LLM-->>Workflow: Return code
Workflow->>Frontend: Emit artifact and UI events
end
Workflow->>LLM: Synthesize answer/explanation
LLM-->>Workflow: Stream response
Workflow->>Frontend: Stream agent events and stop event
Possibly related PRs
Suggested reviewers
Poem
Tip ⚡️ Faster reviews with caching
Enjoy the performance boost—your workflow just got faster. 📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (19)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
packages/create-llama/templates/components/workflows/typescript/deep_research/workflow.ts
Outdated
Show resolved
Hide resolved
…ma-ts-with-new-workflow
4aad498 to
4d95b0d
Compare
3b0fd2d to
59fb863
Compare
Update package after this PR is released: #592
Summary by CodeRabbit
New Features
Bug Fixes
Refactor
Chores
llama-parse,@llamaindex/workflow, andllamaindex.Documentation