[Feature] Add OpenAI Streaming Model and Kimi K2 API model#2208
Merged
Mor-Li merged 3 commits intoopen-compass:mainfrom Jul 22, 2025
Merged
[Feature] Add OpenAI Streaming Model and Kimi K2 API model#2208Mor-Li merged 3 commits intoopen-compass:mainfrom
Mor-Li merged 3 commits intoopen-compass:mainfrom
Conversation
…figs - Add OpenAISDKStreaming class with concurrent streaming support - Implement independent client instances to fix multi-threading issues - Add streaming and non-streaming Kimi K2 model configurations - Update models init to include new streaming class - Set retry limit to 10 for better stability The streaming implementation is essential to prevent connection timeout errors that commonly occur with non-streaming requests. Without streaming, API calls often fail due to timeouts and connection drops, leading to retry exhaustion even with 100 retries, making evaluation impossible to complete. This implementation resolves concurrent request blocking issues in streaming mode by creating isolated OpenAI client instances for each request, preventing resource conflicts between parallel tasks.
Myhs-phz
approved these changes
Jul 22, 2025
dbinthesky
pushed a commit
to xgao922/opencompass
that referenced
this pull request
Jul 29, 2025
…ass#2208) * feat: Add OpenAI streaming model implementation and Kimi K2 model configs - Add OpenAISDKStreaming class with concurrent streaming support - Implement independent client instances to fix multi-threading issues - Add streaming and non-streaming Kimi K2 model configurations - Update models init to include new streaming class - Set retry limit to 10 for better stability The streaming implementation is essential to prevent connection timeout errors that commonly occur with non-streaming requests. Without streaming, API calls often fail due to timeouts and connection drops, leading to retry exhaustion even with 100 retries, making evaluation impossible to complete. This implementation resolves concurrent request blocking issues in streaming mode by creating isolated OpenAI client instances for each request, preventing resource conflicts between parallel tasks. * [Fix] fix pre-commit * [Model] Add deepseek-r1 streaming
zyc140345
pushed a commit
to zyc140345/opencompass
that referenced
this pull request
Oct 23, 2025
…ass#2208) * feat: Add OpenAI streaming model implementation and Kimi K2 model configs - Add OpenAISDKStreaming class with concurrent streaming support - Implement independent client instances to fix multi-threading issues - Add streaming and non-streaming Kimi K2 model configurations - Update models init to include new streaming class - Set retry limit to 10 for better stability The streaming implementation is essential to prevent connection timeout errors that commonly occur with non-streaming requests. Without streaming, API calls often fail due to timeouts and connection drops, leading to retry exhaustion even with 100 retries, making evaluation impossible to complete. This implementation resolves concurrent request blocking issues in streaming mode by creating isolated OpenAI client instances for each request, preventing resource conflicts between parallel tasks. * [Fix] fix pre-commit * [Model] Add deepseek-r1 streaming
iamkaia
pushed a commit
to iamkaia/opencompass
that referenced
this pull request
Feb 4, 2026
…ass#2208) * feat: Add OpenAI streaming model implementation and Kimi K2 model configs - Add OpenAISDKStreaming class with concurrent streaming support - Implement independent client instances to fix multi-threading issues - Add streaming and non-streaming Kimi K2 model configurations - Update models init to include new streaming class - Set retry limit to 10 for better stability The streaming implementation is essential to prevent connection timeout errors that commonly occur with non-streaming requests. Without streaming, API calls often fail due to timeouts and connection drops, leading to retry exhaustion even with 100 retries, making evaluation impossible to complete. This implementation resolves concurrent request blocking issues in streaming mode by creating isolated OpenAI client instances for each request, preventing resource conflicts between parallel tasks. * [Fix] fix pre-commit * [Model] Add deepseek-r1 streaming
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.
The streaming implementation is essential to prevent connection timeout errors
that commonly occur with non-streaming requests. Without streaming, API calls
often fail due to timeouts and connection drops, leading to retry exhaustion
even with 100 retries, making evaluation impossible to complete.