You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+18-3Lines changed: 18 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,11 +11,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
11
11
12
12
### New features
13
13
14
-
* Added new family of functions (`parallel_chat()`, `parallel_chat_text()`, and `parallel_chat_structured()`) for submitting multiple prompts at once with some basic rate limiting toggles. (#188)
15
-
*`ChatOpenAI()` and `ChatAzureOpenAI()` gain access to latest models, built-in tools, image generation, etc. as a result of moving to the new [Responses API](https://platform.openai.com/docs/api-reference/responses). (#192)
16
14
*`ChatOpenAI()`, `ChatAnthropic()`, and `ChatGoogle()` gain a new `reasoning` parameter to easily opt-into, and fully customize, reasoning capabilities. (#202)
17
15
* A new `ContentThinking` content type was added and captures the "thinking" portion of a reasoning model. (#192)
18
-
*`ChatAnthropic()` and `ChatBedrockAnthropic()` gain new `cache` parameter to control caching. By default it is set to "5m". This should (on average) reduce the cost of your chats. (#215)
16
+
* Added support for built-in provider tools via a new `ToolBuiltIn` class. This enables provider-specific functionality like OpenAI's image generation to be registered and used as tools. Built-in tools pass raw provider definitions directly to the API rather than wrapping Python functions. (#214)
17
+
*`ChatGoogle()` gains basic support for image generation. (#214)
18
+
*`ChatOpenAI()` and `ChatAzureOpenAI()` gain a new `service_tier` parameter to request a specific service tier (e.g., `"flex"` for slower/cheaper or `"priority"` for faster/more expensive). (#204)
19
+
20
+
### Changes
21
+
22
+
* The `Chat.get_cost()` method's `options` parameter was renamed to `include`. (#244)
23
+
24
+
## [0.14.0] - 2025-12-09
25
+
26
+
### New features
27
+
28
+
*`ChatOpenAI()` (and `ChatAzureOpenAI()`) gain access to latest models, built-in tools, etc. as a result of moving to the new [Responses API](https://platform.openai.com/docs/api-reference/responses). (#192)
29
+
* Added new family of functions (`parallel_chat()`, `parallel_chat_text()`, and `parallel_chat_structured()`) for submitting multiple prompts at once with some basic rate limiting toggles. (#188)
19
30
* Added support for systematic evaluation via [Inspect AI](https://inspect.aisi.org.uk/). This includes:
20
31
* A new `.export_eval()` method for exporting conversation history as an Inspect eval dataset sample. This supports multi-turn conversations, tool calls, images, PDFs, and structured data.
21
32
* A new `.to_solver()` method for translating chat instances into Inspect solvers that can be used with Inspect's evaluation framework.
@@ -30,12 +41,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
30
41
31
42
### Improvements
32
43
44
+
*`ChatAnthropic()` and `ChatBedrockAnthropic()` now default to Claude Sonnet 4.5.
45
+
*`ChatGroq()` now defaults to llama-3.1-8b-instant.
46
+
*`Chat.chat()`, `Chat.stream()`, and related methods now automatically complete dangling tool requests when a chat is interrupted during a tool call loop, allowing the conversation to be resumed without causing API errors (#230).
33
47
*`content_pdf_file()` and `content_pdf_url()` now include relevant `filename` information. (#199)
34
48
35
49
### Bug fixes
36
50
37
51
*`.set_model_params()` now works correctly for `.*_async()` methods. (#198)
38
52
*`.chat_structured()` results are now included correctly into the multi-turn conversation history. (#203)
53
+
*`ChatAnthropic()` now drops empty assistant turns to avoid API errors when tools return side-effect only results. (#226)
0 commit comments