From 52801c5788de62b65d3590a5c66f463c74fe9fdb Mon Sep 17 00:00:00 2001 From: radu-mocanu Date: Tue, 9 Jun 2026 15:38:35 +0300 Subject: [PATCH] fix: add bedrock,vertex extras to llamaindex scaffold deps --- packages/uipath-llamaindex/docs/quick_start.md | 13 ------------- packages/uipath-llamaindex/pyproject.toml | 2 +- .../src/uipath_llamaindex/_cli/cli_new.py | 6 +----- packages/uipath-llamaindex/uv.lock | 2 +- 4 files changed, 3 insertions(+), 20 deletions(-) diff --git a/packages/uipath-llamaindex/docs/quick_start.md b/packages/uipath-llamaindex/docs/quick_start.md index 24222ca3..ed522264 100644 --- a/packages/uipath-llamaindex/docs/quick_start.md +++ b/packages/uipath-llamaindex/docs/quick_start.md @@ -104,7 +104,6 @@ Generate your first UiPath LlamaIndex agent: ✓ Created 'main.py' file. ✓ Created 'llama_index.json' file. ✓ Created 'pyproject.toml' file. -🔧 Please ensure to define OPENAI_API_KEY in your .env file. 💡 Initialize project: uipath init 💡 Run agent: uipath run agent '{"topic": "UiPath"}' ``` @@ -138,18 +137,6 @@ This command creates the following files: | `uipath.json` | Input/output JSON schemas and bindings. | | `agent.mermaid` | Graph visual representation. | -## Set Up Environment Variables - -Before running the agent, configure `OPENAI_API_KEY` in the `.env` file: - -//// tab | Open AI - -``` -OPENAI_API_KEY=sk-proj-...... -``` - -//// - ## Authenticate With UiPath diff --git a/packages/uipath-llamaindex/pyproject.toml b/packages/uipath-llamaindex/pyproject.toml index 5f97ed0f..edcaff6c 100644 --- a/packages/uipath-llamaindex/pyproject.toml +++ b/packages/uipath-llamaindex/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "uipath-llamaindex" -version = "0.5.15" +version = "0.5.16" description = "Python SDK that enables developers to build and deploy LlamaIndex agents to the UiPath Cloud Platform" readme = { file = "README.md", content-type = "text/markdown" } requires-python = ">=3.11" diff --git a/packages/uipath-llamaindex/src/uipath_llamaindex/_cli/cli_new.py b/packages/uipath-llamaindex/src/uipath_llamaindex/_cli/cli_new.py index 5528061f..81c0daf1 100644 --- a/packages/uipath-llamaindex/src/uipath_llamaindex/_cli/cli_new.py +++ b/packages/uipath-llamaindex/src/uipath_llamaindex/_cli/cli_new.py @@ -31,8 +31,7 @@ def generate_pyproject(target_directory, project_name): description = "{project_name}" authors = [{{ name = "John Doe", email = "john.doe@myemail.com" }}] dependencies = [ - "uipath-llamaindex>=0.5.0, <0.6.0", - "llama-index-llms-openai>=0.6.10" + "uipath-llamaindex[bedrock,vertex]>=0.5.0, <0.6.0", ] requires-python = ">=3.11" """ @@ -54,9 +53,6 @@ def llamaindex_new_middleware(name: str) -> MiddlewareResult: console.success("Created 'llama_index.json' file.") generate_pyproject(directory, name) console.success("Created 'pyproject.toml' file.") - console.config( - f""" Please ensure to define {click.style("OPENAI_API_KEY", fg="bright_yellow")} in your .env file. """ - ) init_command = """uipath init""" run_command = """uipath run agent '{"topic": "UiPath"}'""" console.hint( diff --git a/packages/uipath-llamaindex/uv.lock b/packages/uipath-llamaindex/uv.lock index 92a1a3ec..f879a865 100644 --- a/packages/uipath-llamaindex/uv.lock +++ b/packages/uipath-llamaindex/uv.lock @@ -3506,7 +3506,7 @@ wheels = [ [[package]] name = "uipath-llamaindex" -version = "0.5.15" +version = "0.5.16" source = { editable = "." } dependencies = [ { name = "aiosqlite" },