File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 11# Version information
2- __version__ = "0.3.6 "
2+ __version__ = "0.3.7 "
33
44# Import from server module
55from .server import (
Original file line number Diff line number Diff line change @@ -714,9 +714,12 @@ def proxy():
714714 request_config .update ({
715715 "stream" : stream ,
716716 "n" : n ,
717- "response_format" : response_format , # Add response_format to config
718717 })
719718
719+ # Only add response_format if it's not None
720+ if response_format is not None :
721+ request_config ['response_format' ] = response_format
722+
720723 # Add token limits to request_config with proper priority
721724 if max_completion_tokens is not None :
722725 request_config ['max_completion_tokens' ] = max_completion_tokens
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " optillm"
7- version = " 0.3.6 "
7+ version = " 0.3.7 "
88description = " An optimizing inference proxy for LLMs."
99readme = " README.md"
1010license = " Apache-2.0"
You can’t perform that action at this time.
0 commit comments