refactor: remove stream_options from model adapters and consolidate t…#29
Merged
refactor: remove stream_options from model adapters and consolidate t…#29
Conversation
3cbbb69 to
2e2e0a9
Compare
…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 <oyohyee@oyohyee.com>
2e2e0a9 to
b9f05a2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…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
Fix bugs
Bug detail
Pull request tasks
Update docs
Reason for update
Pull request tasks
Add contributor
Contributed content
Content detail
Others
Reason for update