inferencesh 0.2.18__tar.gz → 0.2.19__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of inferencesh might be problematic. Click here for more details.
- {inferencesh-0.2.18/src/inferencesh.egg-info → inferencesh-0.2.19}/PKG-INFO +1 -1
- {inferencesh-0.2.18 → inferencesh-0.2.19}/pyproject.toml +1 -1
- {inferencesh-0.2.18 → inferencesh-0.2.19}/src/inferencesh/models/llm.py +1 -1
- {inferencesh-0.2.18 → inferencesh-0.2.19/src/inferencesh.egg-info}/PKG-INFO +1 -1
- {inferencesh-0.2.18 → inferencesh-0.2.19}/LICENSE +0 -0
- {inferencesh-0.2.18 → inferencesh-0.2.19}/README.md +0 -0
- {inferencesh-0.2.18 → inferencesh-0.2.19}/setup.cfg +0 -0
- {inferencesh-0.2.18 → inferencesh-0.2.19}/setup.py +0 -0
- {inferencesh-0.2.18 → inferencesh-0.2.19}/src/inferencesh/__init__.py +0 -0
- {inferencesh-0.2.18 → inferencesh-0.2.19}/src/inferencesh/models/__init__.py +0 -0
- {inferencesh-0.2.18 → inferencesh-0.2.19}/src/inferencesh/models/base.py +0 -0
- {inferencesh-0.2.18 → inferencesh-0.2.19}/src/inferencesh/models/file.py +0 -0
- {inferencesh-0.2.18 → inferencesh-0.2.19}/src/inferencesh/utils/__init__.py +0 -0
- {inferencesh-0.2.18 → inferencesh-0.2.19}/src/inferencesh/utils/download.py +0 -0
- {inferencesh-0.2.18 → inferencesh-0.2.19}/src/inferencesh/utils/storage.py +0 -0
- {inferencesh-0.2.18 → inferencesh-0.2.19}/src/inferencesh.egg-info/SOURCES.txt +0 -0
- {inferencesh-0.2.18 → inferencesh-0.2.19}/src/inferencesh.egg-info/dependency_links.txt +0 -0
- {inferencesh-0.2.18 → inferencesh-0.2.19}/src/inferencesh.egg-info/entry_points.txt +0 -0
- {inferencesh-0.2.18 → inferencesh-0.2.19}/src/inferencesh.egg-info/requires.txt +0 -0
- {inferencesh-0.2.18 → inferencesh-0.2.19}/src/inferencesh.egg-info/top_level.txt +0 -0
- {inferencesh-0.2.18 → inferencesh-0.2.19}/tests/test_sdk.py +0 -0
|
@@ -192,7 +192,7 @@ def build_messages(
|
|
|
192
192
|
raise ValueError("Image content requires multipart support")
|
|
193
193
|
|
|
194
194
|
multipart = any(m.image for m in input_data.context) or input_data.image is not None
|
|
195
|
-
messages = [{"role": "system", "content": input_data.system_prompt}]
|
|
195
|
+
messages = [{"role": "system", "content": input_data.system_prompt}] if input_data.system_prompt is not None and input_data.system_prompt != "" else []
|
|
196
196
|
|
|
197
197
|
for msg in input_data.context:
|
|
198
198
|
messages.append({
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|