From 98681d7a8ae82a92a28c9bad343adc96ce410ad1 Mon Sep 17 00:00:00 2001 From: Samuel Colvin Date: Mon, 9 Dec 2024 00:19:00 +0000 Subject: [PATCH] uprev to v0.0.12 (#185) --- .github/workflows/ci.yml | 2 +- pydantic_ai_examples/pyproject.toml | 4 ++-- pydantic_ai_slim/pyproject.toml | 2 +- pyproject.toml | 6 +++--- tests/test_live.py | 2 +- uv.lock | 6 +++--- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b9e8ae15..b0551cd1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -85,7 +85,7 @@ jobs: - uses: pydantic/ollama-action@main with: - model: qwen:0.5b + model: qwen2:0.5b - run: > uv run diff --git a/pydantic_ai_examples/pyproject.toml b/pydantic_ai_examples/pyproject.toml index c192649c..8db24d35 100644 --- a/pydantic_ai_examples/pyproject.toml +++ b/pydantic_ai_examples/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "pydantic-ai-examples" -version = "0.0.11" +version = "0.0.12" description = "Examples of how to use PydanticAI and what it can do." authors = [ { name = "Samuel Colvin", email = "samuel@pydantic.dev" }, @@ -34,7 +34,7 @@ classifiers = [ ] requires-python = ">=3.9" dependencies = [ - "pydantic-ai-slim[openai,vertexai,groq]==0.0.11", + "pydantic-ai-slim[openai,vertexai,groq]==0.0.12", "asyncpg>=0.30.0", "fastapi>=0.115.4", "logfire[asyncpg,fastapi]>=2.3", diff --git a/pydantic_ai_slim/pyproject.toml b/pydantic_ai_slim/pyproject.toml index 1c958c96..29da5bba 100644 --- a/pydantic_ai_slim/pyproject.toml +++ b/pydantic_ai_slim/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "pydantic-ai-slim" -version = "0.0.11" +version = "0.0.12" description = "Agent Framework / shim to use Pydantic with LLMs, slim package" authors = [ { name = "Samuel Colvin", email = "samuel@pydantic.dev" }, diff --git a/pyproject.toml b/pyproject.toml index 40742777..d08287c5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "pydantic-ai" -version = "0.0.11" +version = "0.0.12" description = "Agent Framework / shim to use Pydantic with LLMs" authors = [ { name = "Samuel Colvin", email = "samuel@pydantic.dev" }, @@ -36,7 +36,7 @@ classifiers = [ "Framework :: Pytest", ] requires-python = ">=3.9" -dependencies = ["pydantic-ai-slim[openai,vertexai,groq]==0.0.11"] +dependencies = ["pydantic-ai-slim[openai,vertexai,groq]==0.0.12"] [project.urls] Homepage = "https://ai.pydantic.dev" @@ -45,7 +45,7 @@ Documentation = "https://ai.pydantic.dev" Changelog = "https://github.com/pydantic/pydantic-ai/releases" [project.optional-dependencies] -examples = ["pydantic-ai-examples==0.0.11"] +examples = ["pydantic-ai-examples==0.0.12"] logfire = ["logfire>=2.3"] [tool.uv.sources] diff --git a/tests/test_live.py b/tests/test_live.py index 6867e892..4755cbe1 100644 --- a/tests/test_live.py +++ b/tests/test_live.py @@ -51,7 +51,7 @@ def groq(http_client: httpx.AsyncClient, _tmp_path: Path) -> Model: def ollama(http_client: httpx.AsyncClient, _tmp_path: Path) -> Model: from pydantic_ai.models.ollama import OllamaModel - return OllamaModel('qwen:0.5b', http_client=http_client) + return OllamaModel('qwen2:0.5b', http_client=http_client) params = [ diff --git a/uv.lock b/uv.lock index 44226857..81b500c3 100644 --- a/uv.lock +++ b/uv.lock @@ -1495,7 +1495,7 @@ wheels = [ [[package]] name = "pydantic-ai" -version = "0.0.11" +version = "0.0.12" source = { editable = "." } dependencies = [ { name = "pydantic-ai-slim", extra = ["groq", "openai", "vertexai"] }, @@ -1546,7 +1546,7 @@ lint = [ [[package]] name = "pydantic-ai-examples" -version = "0.0.11" +version = "0.0.12" source = { editable = "pydantic_ai_examples" } dependencies = [ { name = "asyncpg" }, @@ -1571,7 +1571,7 @@ requires-dist = [ [[package]] name = "pydantic-ai-slim" -version = "0.0.11" +version = "0.0.12" source = { editable = "pydantic_ai_slim" } dependencies = [ { name = "eval-type-backport" },