Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [1.1.10](https://github.com/trpc-group/trpc-agent-python/releases/tag/v1.1.10) (2026-06-18)

### Bug Fixes

* Model: fix error about pickle of OpenAIModel.


## [1.1.9](https://github.com/trpc-group/trpc-agent-python/releases/tag/v1.1.9) (2026-06-18)

### Features
Expand Down
2 changes: 1 addition & 1 deletion tests/test_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@

def test_version():
"""Test the version module."""
assert __version__ == '1.1.9'
assert __version__ == '1.1.10'
5 changes: 3 additions & 2 deletions trpc_agent_sdk/models/_openai_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,14 +235,15 @@ def _create_async_client(self) -> openai.AsyncOpenAI:

logging.getLogger("httpx").setLevel(logging.WARNING)

self.client_args['http_client'] = self._http_client_factory()
client_args = self.client_args.copy()
client_args['http_client'] = self._http_client_factory()

return openai.AsyncOpenAI(
api_key=self._api_key,
max_retries=0, # disable retries
organization=self.organization,
base_url=self._base_url,
**self.client_args,
**client_args,
)

def _create_tool_prompt(self) -> ToolPrompt:
Expand Down
2 changes: 1 addition & 1 deletion trpc_agent_sdk/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
This module defines the version information for TRPC Agent
"""

__version__ = '1.1.9'
__version__ = '1.1.10'
Loading