Skip to content

Commit 38e90fc

Browse files
committed
Clean up feedback
1 parent 65b9687 commit 38e90fc

File tree

4 files changed

+21
-1599
lines changed

4 files changed

+21
-1599
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
server.egg-info/

typescript-sdk/integrations/pydantic-ai/examples/README.md

Lines changed: 9 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ The examples include implementations for each of the AG-UI dojo features:
1414

1515
## Setup
1616

17-
### Using uv (Recommended)
18-
1917
1. Install dependencies:
2018
```bash
2119
uv sync
@@ -26,35 +24,23 @@ The examples include implementations for each of the AG-UI dojo features:
2624
uv run dev
2725
```
2826

29-
### Using pip
27+
## Usage
3028

31-
1. Install dependencies:
32-
```bash
33-
pip install -r requirements.txt
34-
```
29+
Once the server is running, launch the frontend dojo with:
3530

36-
2. Run the development server:
37-
```bash
38-
python -m pydantic_ai_examples
39-
```
31+
```bash
32+
cd ../../../
33+
pnpm install
34+
turbo run dev
35+
```
4036

41-
## Usage
37+
and view it at http://localhost:3000.
4238

43-
Once the server is running, you can access the different examples at:
39+
By default, the agents can be reached at:
4440

4541
- `http://localhost:9000/agentic_chat` - Agentic Chat
4642
- `http://localhost:9000/agentic_generative_ui` - Agentic Generative UI
4743
- `http://localhost:9000/human_in_the_loop` - Human in the Loop
4844
- `http://localhost:9000/predictive_state_updates` - Predictive State Updates
4945
- `http://localhost:9000/shared_state` - Shared State
5046
- `http://localhost:9000/tool_based_generative_ui` - Tool Based Generative UI
51-
52-
## Development
53-
54-
To install development dependencies:
55-
56-
```bash
57-
uv sync --extra dev
58-
```
59-
60-
This will install additional tools for testing, formatting, and type checking.

typescript-sdk/integrations/pydantic-ai/examples/pyproject.toml

Lines changed: 3 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
[build-system]
2-
requires = ["hatchling", "uv-dynamic-versioning>=0.7.0"]
3-
build-backend = "hatchling.build"
1+
tool.uv.package = true
42

53
[project]
64
name = "server"
@@ -13,38 +11,9 @@ requires-python = ">=3.9"
1311
dependencies = [
1412
"fastapi>=0.104.0",
1513
"uvicorn[standard]>=0.24.0",
16-
"pydantic-ai>=0.1.0",
14+
"pydantic-ai-slim[openai,ag-ui]>=0.1.0",
1715
]
18-
authors = [
19-
{ name = "Samuel Colvin", email = "[email protected]" },
20-
{ name = "Marcelo Trylesinski", email = "[email protected]" },
21-
{ name = "David Montague", email = "[email protected]" },
22-
{ name = "Alex Hall", email = "[email protected]" },
23-
{ name = "Douwe Maan", email = "[email protected]" },
24-
]
25-
26-
[tool.hatch.metadata.hooks.uv-dynamic-versioning]
27-
dependencies = [
28-
"pydantic-ai-slim[openai,vertexai,groq,anthropic,ag-ui]=={{ version }}",
29-
"pydantic-evals=={{ version }}",
30-
"asyncpg>=0.30.0",
31-
"fastapi>=0.115.4",
32-
"logfire[asyncpg,fastapi,sqlite3,httpx]>=2.6",
33-
"python-multipart>=0.0.17",
34-
"rich>=13.9.2",
35-
"uvicorn>=0.32.0",
36-
"devtools>=0.12.2",
37-
"gradio>=5.9.0; python_version>'3.9'",
38-
"mcp[cli]>=1.4.1; python_version >= '3.10'",
39-
"modal>=1.0.4",
40-
]
41-
42-
43-
[tool.hatch.build.targets.sdist]
44-
include = ["server/"]
45-
46-
[tool.hatch.build.targets.wheel]
47-
include = ["server/"]
16+
authors = []
4817

4918
[project.scripts]
5019
dev = "server:main"

0 commit comments

Comments
 (0)