From 89dc0568b03ef81ffb1278ed7149b9d51627e37c Mon Sep 17 00:00:00 2001 From: weimch Date: Fri, 10 Jul 2026 15:18:07 +0800 Subject: [PATCH 1/2] =?UTF-8?q?Bugfix:=20=E4=BF=AE=E5=A4=8D=E6=A8=A1?= =?UTF-8?q?=E5=9E=8B=E8=B0=83=E7=94=A8=E5=A4=B1=E8=B4=A5=E6=9C=AA=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E5=BC=82=E5=B8=B8=E4=BF=A1=E6=81=AF=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在模型支持重试的特性支持里,把这个信息打印给移除了,现在修复这个问题 --- trpc_agent_sdk/models/_retry.py | 1 + 1 file changed, 1 insertion(+) diff --git a/trpc_agent_sdk/models/_retry.py b/trpc_agent_sdk/models/_retry.py index 97d45aba..a62cdca1 100644 --- a/trpc_agent_sdk/models/_retry.py +++ b/trpc_agent_sdk/models/_retry.py @@ -143,6 +143,7 @@ def _compute_exponential_backoff( def _build_error_response(ex: Exception, error_code: str) -> LlmResponse: + logger.error("Model call failed: %s", ex, exc_info=True) return LlmResponse( content=None, error_code=error_code, From 5a3a6c9f32ca423ad3deb43d59bfb2bfa9b4e660 Mon Sep 17 00:00:00 2001 From: raychen <815315825@qq.com> Date: Fri, 10 Jul 2026 14:42:22 +0800 Subject: [PATCH 2/2] =?UTF-8?q?version:=20=E5=8F=91=E5=B8=831.1.12?= =?UTF-8?q?=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 26 ++++++++++++++++++++++++++ tests/test_version.py | 2 +- trpc_agent_sdk/version.py | 2 +- 3 files changed, 28 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b1bb00c..03f5de58 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,31 @@ # Changelog +## [1.1.12](https://github.com/trpc-group/trpc-agent-python/releases/tag/v1.1.12) (2026-07-10) + +### Features + +* Agent: Added support for dynamically created sub-agents to forward runtime events directly into the parent agent event stream, so callers can observe child-agent progress, tool activity, and final outputs without waiting for the whole delegated task to finish. +* Agent: Added dynamic sub-agent creation support, allowing agents to create and use child agents at runtime for more flexible task decomposition and delegation. +* Goal: Added Goal support aligned with the Go implementation, giving agents a structured way to carry task objectives through the execution flow. +* A2A: Added optional `app_name` support to `TrpcA2aAgentService`, allowing the Runner app identity to differ from the exposed A2A service name while keeping the existing `service_name` fallback behavior. +* Session: Updated `list_sessions()` so `user_id` can be omitted. When `user_id=None`, InMemory, SQL, Redis, and Eval session services now return all sessions under the specified `app_name` without loading session events. +* Skill: Added the `skills_hub` module to support centralized skill discovery and management. + +### Bug Fixes + +* Graph: Fixed `GraphAgent` `AgentNode.last_response` so it no longer records thinking text or intermediate tool-call round text as the node's final response. The graph now uses `Event.is_final_response()` and removes thinking content before saving the last response. +* A2A: Fixed internal pipeline example scripts and paths so the example workflow can be triggered and run with the expected files. +* Docs: Fixed README optional dependency installation commands by quoting extras, removing extra spaces, and normalizing package-extra casing so shell parsing works correctly. + +### Docs + +* Docs: Added MkDocs site entry pages and navigation for the existing English and Chinese documentation, plus a GitHub Pages workflow so the README documentation badge can point to a published documentation site. +* Docs: Added documentation and test coverage for listing sessions across all users under an app by passing `user_id=None`. + +### Internal + +* CI: Added and adjusted internal pipeline test trigger files used by repository automation. + ## [1.1.11](https://github.com/trpc-group/trpc-agent-python/releases/tag/v1.1.11) (2026-06-26) ### Features diff --git a/tests/test_version.py b/tests/test_version.py index 85896686..a5aaea74 100644 --- a/tests/test_version.py +++ b/tests/test_version.py @@ -10,4 +10,4 @@ def test_version(): """Test the version module.""" - assert __version__ == '1.1.11' + assert __version__ == '1.1.12' diff --git a/trpc_agent_sdk/version.py b/trpc_agent_sdk/version.py index 614d9682..a6e4cbae 100644 --- a/trpc_agent_sdk/version.py +++ b/trpc_agent_sdk/version.py @@ -9,4 +9,4 @@ This module defines the version information for TRPC Agent """ -__version__ = '1.1.11' +__version__ = '1.1.12'