diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c266bd9..4df06cae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). --> +## [UNRELEASED] + +### Bug fixes + +* `ContentPDF` is now exported from `chatlas.types`, matching all other `Content` subclasses. (#312) + ## [0.18.0] - 2026-05-12 ### New features diff --git a/chatlas/data/prices.json b/chatlas/data/prices.json index ee48da7e..ca19ebb6 100644 --- a/chatlas/data/prices.json +++ b/chatlas/data/prices.json @@ -6029,6 +6029,14 @@ "output": 16, "cached_input": 0.4 }, + { + "provider": "OpenAI", + "model": "gpt-realtime-2", + "variant": "", + "input": 4, + "output": 16, + "cached_input": 0.4 + }, { "provider": "OpenAI", "model": "gpt-realtime-2025-08-28", diff --git a/chatlas/types/__init__.py b/chatlas/types/__init__.py index 4cb2cf4f..1c7d0b29 100644 --- a/chatlas/types/__init__.py +++ b/chatlas/types/__init__.py @@ -9,6 +9,7 @@ ContentImageInline, ContentImageRemote, ContentJson, + ContentPDF, ContentText, ContentThinking, ContentThinkingDelta, @@ -33,6 +34,7 @@ "ContentImageInline", "ContentImageRemote", "ContentJson", + "ContentPDF", "ContentText", "ContentThinking", "ContentThinkingDelta", diff --git a/docs/_quarto.yml b/docs/_quarto.yml index e466b5d1..2ae7c892 100644 --- a/docs/_quarto.yml +++ b/docs/_quarto.yml @@ -221,6 +221,7 @@ quartodoc: - types.ContentImageInline - types.ContentImageRemote - types.ContentJson + - types.ContentPDF - types.ContentText - types.ContentThinking - types.ContentThinkingDelta