Skip to content

fix: add bedrock,vertex extras to llamaindex scaffold deps#355

Merged
radu-mocanu merged 1 commit into
mainfrom
fix/llamaindex-scaffold-extras
Jun 9, 2026
Merged

fix: add bedrock,vertex extras to llamaindex scaffold deps#355
radu-mocanu merged 1 commit into
mainfrom
fix/llamaindex-scaffold-extras

Conversation

@radu-mocanu

Copy link
Copy Markdown
Collaborator

Summary

  • generated llamaindex projects now depend on uipath-llamaindex[bedrock,vertex] so the default Bedrock model resolves on uipath init
  • drop the unused llama-index-llms-openai dep (scaffold no longer imports plain OpenAI)

Why

the scaffold template now defaults to a Bedrock model, but the generated pyproject.toml didn't pull the provider extra -> uipath init failed with "the 'bedrock' extra is required". this follows up #354, which merged before the extras fix landed.

Copilot AI review requested due to automatic review settings June 9, 2026 12:38

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the LlamaIndex scaffold so newly generated projects install the provider extras required by the default Bedrock-based template, preventing uipath init failures due to missing optional dependencies.

Changes:

  • Update the scaffolded pyproject.toml dependency to uipath-llamaindex[bedrock,vertex] and drop the unused llama-index-llms-openai direct dependency.
  • Bump uipath-llamaindex package version from 0.5.15 to 0.5.16.
  • Sync the version bump into uv.lock.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
packages/uipath-llamaindex/src/uipath_llamaindex/_cli/cli_new.py Adjusts generated project dependencies to include bedrock,vertex extras and removes unused OpenAI provider dependency.
packages/uipath-llamaindex/pyproject.toml Bumps package version to 0.5.16.
packages/uipath-llamaindex/uv.lock Updates locked editable package version to 0.5.16.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@radu-mocanu radu-mocanu force-pushed the fix/llamaindex-scaffold-extras branch from 39e0570 to 09bde2f Compare June 9, 2026 12:45
@radu-mocanu radu-mocanu force-pushed the fix/llamaindex-scaffold-extras branch from 09bde2f to 52801c5 Compare June 9, 2026 12:46
@sonarqubecloud

sonarqubecloud Bot commented Jun 9, 2026

Copy link
Copy Markdown

@radu-mocanu radu-mocanu merged commit 7d8e793 into main Jun 9, 2026
69 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants