[PR #328] [MERGED] feat: implement artifact tool in TS #430

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

📋 Pull Request Information

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

Base: mainHead: feat/implement-artifact-tool-in-ts


📝 Commits (10+)

  • f98b0ae feat: implement artifact tool in TS
  • cf09c6d Create modern-cars-travel.md
  • 526c342 feat: add loading for iframe
  • 1b9e656 fix: typo
  • b3d6b2a add license
  • 8e90fd2 Merge branch 'main' into feat/implement-artifact-tool-in-ts
  • f7ee7eb fix: license
  • 017ca72 support python execution in code interpreter
  • 6ce4cb5 support display version artifact with side panel
  • d940311 auto open panel when having tool data

📊 Changes

25 files changed (+1070 additions, -122 deletions)

View changed files

.changeset/modern-cars-travel.md (+5 -0)
📝 e2e/shared/multiagent_template.spec.ts (+1 -1)
📝 e2e/shared/streaming_template.spec.ts (+1 -1)
📝 helpers/env-variables.ts (+0 -6)
📝 helpers/tools.ts (+20 -0)
templates/components/engines/typescript/agent/tools/code-generator.ts (+129 -0)
📝 templates/components/engines/typescript/agent/tools/index.ts (+4 -0)
📝 templates/components/llamaindex/typescript/streaming/annotations.ts (+68 -18)
📝 templates/components/llamaindex/typescript/streaming/events.ts (+0 -9)
📝 templates/types/streaming/express/index.ts (+2 -0)
📝 templates/types/streaming/express/package.json (+1 -1)
📝 templates/types/streaming/express/src/controllers/chat.controller.ts (+10 -42)
templates/types/streaming/express/src/controllers/sandbox.controller.ts (+140 -0)
📝 templates/types/streaming/nextjs/app/api/chat/route.ts (+10 -36)
templates/types/streaming/nextjs/app/api/sandbox/route.ts (+142 -0)
📝 templates/types/streaming/nextjs/app/components/ui/chat/chat-input.tsx (+14 -3)
📝 templates/types/streaming/nextjs/app/components/ui/chat/chat-message/chat-tools.tsx (+15 -1)
📝 templates/types/streaming/nextjs/app/components/ui/chat/chat-message/index.tsx (+8 -1)
📝 templates/types/streaming/nextjs/app/components/ui/chat/chat-messages.tsx (+26 -1)
📝 templates/types/streaming/nextjs/app/components/ui/chat/chat.interface.ts (+1 -1)

...and 5 more files

📄 Description

Summary by CodeRabbit

  • New Features

    • Introduced an ArtifactTool for managing and manipulating software artifacts.
    • Added a CodeGeneratorTool for generating code artifacts based on user-defined requirements.
    • Implemented a new API endpoint for executing code in a sandboxed environment.
    • Enhanced artifact execution results display with detailed logs and output previews.
    • Added a new React component for managing and displaying code artifact details.
  • Bug Fixes

    • Updated the version of the @e2b/code-interpreter package to improve stability.
    • Added @radix-ui/react-tabs for improved tab functionality.
  • Documentation

    • Enhanced tool specifications and environment variables for better user guidance.
    • Removed the STREAM_TIMEOUT environment variable to simplify configuration.

🔄 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/328 **Author:** [@thucpn](https://github.com/thucpn) **Created:** 9/26/2024 **Status:** ✅ Merged **Merged:** 10/3/2024 **Merged by:** [@marcusschiesser](https://github.com/marcusschiesser) **Base:** `main` ← **Head:** `feat/implement-artifact-tool-in-ts` --- ### 📝 Commits (10+) - [`f98b0ae`](https://github.com/run-llama/create-llama/commit/f98b0aec9dd7075e6a0794f82e1fd734e5fabfc4) feat: implement artifact tool in TS - [`cf09c6d`](https://github.com/run-llama/create-llama/commit/cf09c6dfb0e30f2fb0fb68f26ce890eefc234148) Create modern-cars-travel.md - [`526c342`](https://github.com/run-llama/create-llama/commit/526c342d5b60abff80cd4cbce974a33c72558a29) feat: add loading for iframe - [`1b9e656`](https://github.com/run-llama/create-llama/commit/1b9e6567df5baebcfb3556f285dd0eef29137079) fix: typo - [`b3d6b2a`](https://github.com/run-llama/create-llama/commit/b3d6b2a5e7101f76143a751f78ad78371a6d52d2) add license - [`8e90fd2`](https://github.com/run-llama/create-llama/commit/8e90fd22eb42c8316300d3fc52f2f1b37a977f74) Merge branch 'main' into feat/implement-artifact-tool-in-ts - [`f7ee7eb`](https://github.com/run-llama/create-llama/commit/f7ee7eb218d94df4e77f12a70f7f79fa28a08348) fix: license - [`017ca72`](https://github.com/run-llama/create-llama/commit/017ca723de863b4d74bed6465d116fffd8b4ea61) support python execution in code interpreter - [`6ce4cb5`](https://github.com/run-llama/create-llama/commit/6ce4cb58d2b2a0d9cc5bea292717124d082b6a43) support display version artifact with side panel - [`d940311`](https://github.com/run-llama/create-llama/commit/d940311ead1b171939250a6138fad20f17a5ce3c) auto open panel when having tool data ### 📊 Changes **25 files changed** (+1070 additions, -122 deletions) <details> <summary>View changed files</summary> ➕ `.changeset/modern-cars-travel.md` (+5 -0) 📝 `e2e/shared/multiagent_template.spec.ts` (+1 -1) 📝 `e2e/shared/streaming_template.spec.ts` (+1 -1) 📝 `helpers/env-variables.ts` (+0 -6) 📝 `helpers/tools.ts` (+20 -0) ➕ `templates/components/engines/typescript/agent/tools/code-generator.ts` (+129 -0) 📝 `templates/components/engines/typescript/agent/tools/index.ts` (+4 -0) 📝 `templates/components/llamaindex/typescript/streaming/annotations.ts` (+68 -18) 📝 `templates/components/llamaindex/typescript/streaming/events.ts` (+0 -9) 📝 `templates/types/streaming/express/index.ts` (+2 -0) 📝 `templates/types/streaming/express/package.json` (+1 -1) 📝 `templates/types/streaming/express/src/controllers/chat.controller.ts` (+10 -42) ➕ `templates/types/streaming/express/src/controllers/sandbox.controller.ts` (+140 -0) 📝 `templates/types/streaming/nextjs/app/api/chat/route.ts` (+10 -36) ➕ `templates/types/streaming/nextjs/app/api/sandbox/route.ts` (+142 -0) 📝 `templates/types/streaming/nextjs/app/components/ui/chat/chat-input.tsx` (+14 -3) 📝 `templates/types/streaming/nextjs/app/components/ui/chat/chat-message/chat-tools.tsx` (+15 -1) 📝 `templates/types/streaming/nextjs/app/components/ui/chat/chat-message/index.tsx` (+8 -1) 📝 `templates/types/streaming/nextjs/app/components/ui/chat/chat-messages.tsx` (+26 -1) 📝 `templates/types/streaming/nextjs/app/components/ui/chat/chat.interface.ts` (+1 -1) _...and 5 more files_ </details> ### 📄 Description <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced an `ArtifactTool` for managing and manipulating software artifacts. - Added a `CodeGeneratorTool` for generating code artifacts based on user-defined requirements. - Implemented a new API endpoint for executing code in a sandboxed environment. - Enhanced artifact execution results display with detailed logs and output previews. - Added a new React component for managing and displaying code artifact details. - **Bug Fixes** - Updated the version of the `@e2b/code-interpreter` package to improve stability. - Added `@radix-ui/react-tabs` for improved tab functionality. - **Documentation** - Enhanced tool specifications and environment variables for better user guidance. - Removed the `STREAM_TIMEOUT` environment variable to simplify configuration. <!-- 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:38 -05:00
yindo closed this issue 2026-02-15 19:17:38 -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#430