Skip to content

Conversation

@OhYee
Copy link
Member

@OhYee OhYee commented Jan 9, 2026

…est helpers

Removed stream_options parameter from CrewAI, Google ADK, and PydanticAI model adapters as it was causing issues with non-streaming requests and each framework handles usage information internally. Consolidated test helper functions from separate helpers.py file into conftest.py to improve test organization and maintainability.

移除 CrewAI、Google ADK 和 PydanticAI 模型适配器中的 stream_options 参数,因为它在非流式请求中造成问题,且每个框架都内置处理用量信息。将测试辅助函数从独立的 helpers.py 文件合并到 conftest.py 中,以改善测试组织和可维护性。

Change-Id: Ia38c6fe5d592af637e16d2307dda826832a19665

Thank you for creating a pull request to contribute to Serverless Devs agentrun-sdk-python code! Before you open the request please answer the following questions to help it be more easily integrated. Please check the boxes "[ ]" with "[x]" when done too.
Please select one of the PR types below to complete


Fix bugs

Bug detail

The specific manifestation of the bug or the associated issue.

Pull request tasks

  • Add test cases for the changes
  • Passed the CI test

Update docs

Reason for update

Why do you need to update your documentation?

Pull request tasks

  • Update Chinese documentation
  • Update English documentation

Add contributor

Contributed content

  • Code
  • Document

Content detail

if content_type == 'code' || content_type == 'document':
    please tell us `PR url`,like: https://github.com/Serverless-Devs/agentrun-sdk-python/pull/1
else:
    please describe your contribution in detail

Others

Reason for update

Why do you need to update your documentation?

@OhYee OhYee force-pushed the fix-stream-options branch from 3cbbb69 to 2e2e0a9 Compare January 9, 2026 08:11
…est helpers

Removed stream_options parameter from CrewAI, Google ADK, and PydanticAI model adapters as it was causing issues with non-streaming requests and each framework handles usage information internally. Consolidated test helper functions from separate helpers.py file into conftest.py to improve test organization and maintainability.

移除 CrewAI、Google ADK 和 PydanticAI 模型适配器中的 stream_options 参数,因为它在非流式请求中造成问题,且每个框架都内置处理用量信息。将测试辅助函数从独立的 helpers.py 文件合并到 conftest.py 中,以改善测试组织和可维护性。

Change-Id: I0271c6f8340a52f74b2053a570e3b3c0789933d5
Signed-off-by: OhYee <[email protected]>
@OhYee OhYee force-pushed the fix-stream-options branch from 2e2e0a9 to b9f05a2 Compare January 9, 2026 08:12
@OhYee OhYee enabled auto-merge January 9, 2026 08:17
@OhYee OhYee disabled auto-merge January 9, 2026 08:17
@OhYee OhYee merged commit 6ae8e64 into main Jan 9, 2026
2 checks passed
@OhYee OhYee deleted the fix-stream-options branch January 9, 2026 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants