mirror of
https://github.com/run-llama/create-llama.git
synced 2026-07-15 13:15:42 -04:00
[PR #678] [MERGED] fix: conflict package versions in ts examples #680
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/678
Author: @thucpn
Created: 6/4/2025
Status: ✅ Merged
Merged: 6/4/2025
Merged by: @marcusschiesser
Base:
main← Head:tp/fix-conflict-package-versions-in-ts-examples📝 Commits (5)
25d635ffix: conflict package versions in ts examples7a4e92duse single instance of @llamaindex/workflow5d18a7afix imports when bumping openai0aab544clean codec6bedf0missing Settings.llm📊 Changes
6 files changed (+511 additions, -189 deletions)
View changed files
📝
packages/server/examples/agentic-rag/index.ts(+2 -7)📝
packages/server/examples/custom-layout/index.ts(+6 -1)📝
packages/server/examples/devmode/index.ts(+6 -0)📝
packages/server/examples/package.json(+5 -6)📝
packages/server/examples/simple-workflow/calculator.ts(+6 -1)📝
pnpm-lock.yaml(+486 -174)📄 Description
Duplicate Dependency Resolution Issue:
The examples package explicitly listed @llamaindex/workflow@1.1.3 in its dependencies, while @llamaindex/server@workspace:* (linked to packages/server) also depended on @llamaindex/workflow@1.1.3. pnpm resolved these as separate instances of @llama-flow/core@0.4.1 and causing an instanceof mismatch
To detect issue:
cd packages\server\examples && pnpm why @llama-flow/coreThis PR is to remove @llamaindex/workflow from the examples package’s dependencies and rely on @llamaindex/server to provide it. This ensures a single instance of @llama-flow/core@0.4.1 is used in examples and server.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.