Skip to content

Commit e49e6ed

Browse files
cosmyoclaude
andcommitted
fix: remove incorrect OpenAI API key requirement from docs and samples
UiPathChatOpenAI routes all requests through UiPath's LLM Gateway, so no OpenAI API key is needed. Removed misleading references from quick_start.md and sample .env.example files. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 60eadd5 commit e49e6ed

3 files changed

Lines changed: 6 additions & 26 deletions

File tree

packages/uipath-openai-agents/docs/quick_start.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@ Before proceeding, ensure you have the following installed:
1111
- Python 3.11 or higher
1212
- `pip` or `uv` package manager
1313
- A UiPath Automation Cloud account with appropriate permissions
14-
- An OpenAI API key
15-
16-
/// info
17-
**OpenAI** - Generate an OpenAI API key [here](https://platform.openai.com).
18-
///
1914

2015
## Creating a New Project
2116

@@ -104,7 +99,6 @@ Generate your first UiPath OpenAI agent:
10499
✓ Created 'main.py' file.
105100
✓ Created 'openai_agents.json' file.
106101
✓ Created 'pyproject.toml' file.
107-
🔧 Please ensure to define OPENAI_API_KEY in your .env file.
108102
💡 Initialize project: uipath init
109103
💡 Run agent: uipath run agent '{"messages": "Hello"}'
110104
```
@@ -138,18 +132,6 @@ This command creates the following files:
138132
| `uipath.json` | Input/output JSON schemas and bindings. |
139133
| `agent.mermaid` | Graph visual representation. |
140134

141-
## Set Up Environment Variables
142-
143-
Before running the agent, configure `OPENAI_API_KEY` in the `.env` file:
144-
145-
//// tab | Open AI
146-
147-
```
148-
OPENAI_API_KEY=sk-proj-......
149-
```
150-
151-
////
152-
153135
## Authenticate With UiPath
154136

155137
<!-- termynal -->
Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# OpenAI API Configuration
2-
OPENAI_API_KEY=your-api-key-here
3-
4-
# Optional: Set custom API endpoint
5-
# OPENAI_API_BASE=https://api.openai.com/v1
1+
# UiPath Configuration
2+
# No OpenAI API key is needed - UiPathChatOpenAI routes requests through UiPath's LLM Gateway.
3+
# Run `uipath auth` to authenticate with UiPath Automation Cloud.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# OpenAI API Key
2-
# Get your API key from https://platform.openai.com/api-keys
3-
OPENAI_API_KEY=sk-...
1+
# UiPath Configuration
2+
# No OpenAI API key is needed - UiPathChatOpenAI routes requests through UiPath's LLM Gateway.
3+
# Run `uipath auth` to authenticate with UiPath Automation Cloud.

0 commit comments

Comments
 (0)