Skip to content

Commit ac11f5a

Browse files
fix(tests): resolve LlamaIndex dependency conflict in JS quickstart (#2597)
## Description This PR fixes a failing quickstart-test-js presubmit (#2214) by explicitly aligning the LlamaIndex ecosystem dependencies. The previous configuration caused an ERESOLVE error because `@llamaindex/google` required a specific version of `@llamaindex/core` that was conflicting with the top-level resolution. ## PR Checklist > Thank you for opening a Pull Request! Before submitting your PR, there are a > few things you can do to make sure it goes smoothly: - [ ] Make sure you reviewed [CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md) - [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) - [ ] Make sure to add `!` if this involve a breaking change 🛠️ Fixes #<issue_number_goes_here> --------- Co-authored-by: Mend Renovate <bot@renovateapp.com>
1 parent 9d7bbea commit ac11f5a

2 files changed

Lines changed: 22 additions & 18 deletions

File tree

docs/en/getting-started/quickstart/js/llamaindex/package-lock.json

Lines changed: 17 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/en/getting-started/quickstart/js/llamaindex/package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@
1111
"author": "",
1212
"license": "ISC",
1313
"dependencies": {
14-
"@llamaindex/google": "^0.3.20",
15-
"@llamaindex/workflow": "^1.1.22",
16-
"@toolbox-sdk/core": "^0.1.2",
17-
"llamaindex": "^0.12.0"
14+
"@llamaindex/core": "0.6.20",
15+
"@llamaindex/google": "0.3.20",
16+
"@llamaindex/workflow": "1.1.22",
17+
"@toolbox-sdk/core": "^0.2.0",
18+
"llamaindex": "0.12.0"
1819
}
1920
}

0 commit comments

Comments
 (0)