Skip to content

Conversation

jackyzjk
Copy link

@jackyzjk jackyzjk commented Oct 15, 2025

This PR adds the following improvements:

New Features

  • Add support for audio and video input

Bug Fixes

  • Fix various PR errors and issues

Test Improvements

  • Add unit test cases for new code
  • Improve overall test coverage

All changes have been tested and are ready for review.

@jackyzjk jackyzjk changed the title Add improvements from jackyzjk/go-openai Add audio and video input support along with bug fixes and test improvements Oct 15, 2025
zhangjk added 4 commits October 15, 2025 16:51
- 修复 TestChatCompletionRequest_MarshalJSON 函数的认知复杂度问题
- 为 chat_stream_test.go 中的注释添加句号
- 修复 chat_test.go 中的导入格式问题
- 修复 chat_test.go 中的变量阴影问题
- 修复 chat_stream_test.go 中的长行问题
- 修复 chat_test.go 中的嵌套 if 块问题
- 将验证逻辑提取到单独的函数 validateChatCompletionRequestResult
- 将扩展验证逻辑提取到单独的函数 validateExtensions
- 降低主函数的认知复杂度从 25 到 20 以下
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.

1 participant