[PR #300] [MERGED] feat: support multi agent for ts #412

Closed
opened 2026-02-15 19:17:34 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/run-llama/create-llama/pull/300
Author: @thucpn
Created: 9/18/2024
Status: Merged
Merged: 9/26/2024
Merged by: @marcusschiesser

Base: mainHead: feat/support-multi-agent-for-ts


📝 Commits (10+)

  • 413593b feat: update question to ask creating multiagent in express
  • 622b84b feat: add express simple multiagent
  • f464b40 fix: import from agent
  • 0ebcb9f Create yellow-jokes-protect.md
  • f43f00a create workflow with example agents
  • 6c05872 remove unused files
  • 2c7a538 update doc
  • 5daf519 feat: streaming event
  • b875618 fix: streaming final result
  • b030a3d fix: pipe final streaming result

📊 Changes

15 files changed (+638 additions, -191 deletions)

View changed files

.changeset/yellow-jokes-protect.md (+5 -0)
📝 e2e/multiagent_template.spec.ts (+6 -6)
📝 helpers/typescript.ts (+30 -2)
📝 questions.ts (+1 -4)
templates/components/multiagent/typescript/express/chat.controller.ts (+41 -0)
templates/components/multiagent/typescript/nextjs/route.ts (+57 -0)
templates/components/multiagent/typescript/workflow/agents.ts (+51 -0)
templates/components/multiagent/typescript/workflow/factory.ts (+133 -0)
templates/components/multiagent/typescript/workflow/single-agent.ts (+236 -0)
templates/components/multiagent/typescript/workflow/stream.ts (+65 -0)
templates/components/multiagent/typescript/workflow/type.ts (+11 -0)
📝 templates/components/settings/typescript/settings.ts (+0 -0)
📝 templates/types/streaming/express/package.json (+1 -0)
templates/types/streaming/nextjs/app/api/chat/engine/settings.ts (+0 -179)
📝 templates/types/streaming/nextjs/package.json (+1 -0)

📄 Description

Summary by CodeRabbit

Release Notes

  • New Features

    • Introduced a multi-agent template for Express, enhancing modularity in agent management.
    • Added comprehensive documentation with a new README-template.md for projects using LlamaIndex with Express.
    • Implemented new API endpoints for chat functionalities.
    • Added functionality for creating specialized agents: researcher, writer, and reviewer.
    • Introduced a multi-agent workflow for generating and reviewing blog posts.
    • Enhanced asynchronous data stream handling within the workflow system.
  • Bug Fixes

    • Improved logic for template selection to ensure correct framework compatibility.
  • Chores

    • Added new dependencies for enhanced functionality in projects.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/run-llama/create-llama/pull/300 **Author:** [@thucpn](https://github.com/thucpn) **Created:** 9/18/2024 **Status:** ✅ Merged **Merged:** 9/26/2024 **Merged by:** [@marcusschiesser](https://github.com/marcusschiesser) **Base:** `main` ← **Head:** `feat/support-multi-agent-for-ts` --- ### 📝 Commits (10+) - [`413593b`](https://github.com/run-llama/create-llama/commit/413593b0d9b0a45adafc22036713793cdb6c29e1) feat: update question to ask creating multiagent in express - [`622b84b`](https://github.com/run-llama/create-llama/commit/622b84b97a943b80063ae45cc6adba2bed12c1ac) feat: add express simple multiagent - [`f464b40`](https://github.com/run-llama/create-llama/commit/f464b40f583ccb13de7e9a77e1c8f53219519682) fix: import from agent - [`0ebcb9f`](https://github.com/run-llama/create-llama/commit/0ebcb9fff73e383926eff048779444d176d24ece) Create yellow-jokes-protect.md - [`f43f00a`](https://github.com/run-llama/create-llama/commit/f43f00a4ee505c525bb076dfa7b309b07c234292) create workflow with example agents - [`6c05872`](https://github.com/run-llama/create-llama/commit/6c05872aaecc5ab9a44797ac26335f52b1de0f3a) remove unused files - [`2c7a538`](https://github.com/run-llama/create-llama/commit/2c7a53853a334cc6476dfa232fe34deee9f9335a) update doc - [`5daf519`](https://github.com/run-llama/create-llama/commit/5daf519572659b06a1642e942fe15f11b07941a2) feat: streaming event - [`b875618`](https://github.com/run-llama/create-llama/commit/b8756189cc6fb9fd9c7a34aa3797c1bcebfb1121) fix: streaming final result - [`b030a3d`](https://github.com/run-llama/create-llama/commit/b030a3d885ca7f4c029489d278b1ee787ff8330b) fix: pipe final streaming result ### 📊 Changes **15 files changed** (+638 additions, -191 deletions) <details> <summary>View changed files</summary> ➕ `.changeset/yellow-jokes-protect.md` (+5 -0) 📝 `e2e/multiagent_template.spec.ts` (+6 -6) 📝 `helpers/typescript.ts` (+30 -2) 📝 `questions.ts` (+1 -4) ➕ `templates/components/multiagent/typescript/express/chat.controller.ts` (+41 -0) ➕ `templates/components/multiagent/typescript/nextjs/route.ts` (+57 -0) ➕ `templates/components/multiagent/typescript/workflow/agents.ts` (+51 -0) ➕ `templates/components/multiagent/typescript/workflow/factory.ts` (+133 -0) ➕ `templates/components/multiagent/typescript/workflow/single-agent.ts` (+236 -0) ➕ `templates/components/multiagent/typescript/workflow/stream.ts` (+65 -0) ➕ `templates/components/multiagent/typescript/workflow/type.ts` (+11 -0) 📝 `templates/components/settings/typescript/settings.ts` (+0 -0) 📝 `templates/types/streaming/express/package.json` (+1 -0) ➖ `templates/types/streaming/nextjs/app/api/chat/engine/settings.ts` (+0 -179) 📝 `templates/types/streaming/nextjs/package.json` (+1 -0) </details> ### 📄 Description <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Release Notes - **New Features** - Introduced a multi-agent template for Express, enhancing modularity in agent management. - Added comprehensive documentation with a new `README-template.md` for projects using LlamaIndex with Express. - Implemented new API endpoints for chat functionalities. - Added functionality for creating specialized agents: researcher, writer, and reviewer. - Introduced a multi-agent workflow for generating and reviewing blog posts. - Enhanced asynchronous data stream handling within the workflow system. - **Bug Fixes** - Improved logic for template selection to ensure correct framework compatibility. - **Chores** - Added new dependencies for enhanced functionality in projects. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 19:17:34 -05:00
yindo closed this issue 2026-02-15 19:17:34 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/create-llama#412