Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion optillm/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Version information
__version__ = "0.3.6"
__version__ = "0.3.7"

# Import from server module
from .server import (
Expand Down
5 changes: 4 additions & 1 deletion optillm/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -714,9 +714,12 @@ def proxy():
request_config.update({
"stream": stream,
"n": n,
"response_format": response_format, # Add response_format to config
})

# Only add response_format if it's not None
if response_format is not None:
request_config['response_format'] = response_format

# Add token limits to request_config with proper priority
if max_completion_tokens is not None:
request_config['max_completion_tokens'] = max_completion_tokens
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "optillm"
version = "0.3.6"
version = "0.3.7"
description = "An optimizing inference proxy for LLMs."
readme = "README.md"
license = "Apache-2.0"
Expand Down