Skip to content

Commit 91cf88d

Browse files
committed
docs(ai): use uv add for AI install commands
1 parent ef5ce1b commit 91cf88d

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

docs/ai/agent.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ An agent is a Python class that subclasses `Agent`, configures itself with decor
3131
Install the `ai` extra to pull in LangChain:
3232

3333
```bash
34-
pip install "fastapi-startkit[ai]"
34+
uv add "fastapi-startkit[ai]"
3535
```
3636

3737
The `ai` extra installs `langchain` and `langchain-core` only. Provider SDKs are loaded lazily through LangChain's integration packages — install the one(s) for the provider you use:
3838

3939
```bash
40-
pip install langchain-anthropic # Anthropic
41-
pip install langchain-openai # OpenAI
42-
pip install langchain-google-genai # Google Gemini
40+
uv add langchain-anthropic # Anthropic
41+
uv add langchain-openai # OpenAI
42+
uv add langchain-google-genai # Google Gemini
4343
```
4444

4545
### Registering the provider
@@ -634,7 +634,7 @@ Models are created with LangChain's `init_chat_model`, which selects the integra
634634
### Anthropic
635635
636636
```bash
637-
pip install langchain-anthropic
637+
uv add langchain-anthropic
638638
```
639639
640640
```ini
@@ -644,7 +644,7 @@ ANTHROPIC_API_KEY=sk-ant-...
644644
### OpenAI
645645
646646
```bash
647-
pip install langchain-openai
647+
uv add langchain-openai
648648
```
649649
650650
```ini
@@ -654,7 +654,7 @@ OPENAI_API_KEY=sk-...
654654
### Google Gemini
655655
656656
```bash
657-
pip install langchain-google-genai
657+
uv add langchain-google-genai
658658
```
659659
660660
```ini

0 commit comments

Comments
 (0)