inferencesh 0.4.4__tar.gz → 0.4.7__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.4.4/src/inferencesh.egg-info → inferencesh-0.4.7}/PKG-INFO +1 -1
- {inferencesh-0.4.4 → inferencesh-0.4.7}/pyproject.toml +1 -1
- {inferencesh-0.4.4 → inferencesh-0.4.7}/src/inferencesh/models/file.py +4 -2
- {inferencesh-0.4.4 → inferencesh-0.4.7}/src/inferencesh/models/llm.py +2 -1
- {inferencesh-0.4.4 → inferencesh-0.4.7/src/inferencesh.egg-info}/PKG-INFO +1 -1
- {inferencesh-0.4.4 → inferencesh-0.4.7}/LICENSE +0 -0
- {inferencesh-0.4.4 → inferencesh-0.4.7}/README.md +0 -0
- {inferencesh-0.4.4 → inferencesh-0.4.7}/setup.cfg +0 -0
- {inferencesh-0.4.4 → inferencesh-0.4.7}/src/inferencesh/__init__.py +0 -0
- {inferencesh-0.4.4 → inferencesh-0.4.7}/src/inferencesh/client.py +0 -0
- {inferencesh-0.4.4 → inferencesh-0.4.7}/src/inferencesh/models/__init__.py +0 -0
- {inferencesh-0.4.4 → inferencesh-0.4.7}/src/inferencesh/models/base.py +0 -0
- {inferencesh-0.4.4 → inferencesh-0.4.7}/src/inferencesh/utils/__init__.py +0 -0
- {inferencesh-0.4.4 → inferencesh-0.4.7}/src/inferencesh/utils/download.py +0 -0
- {inferencesh-0.4.4 → inferencesh-0.4.7}/src/inferencesh/utils/storage.py +0 -0
- {inferencesh-0.4.4 → inferencesh-0.4.7}/src/inferencesh.egg-info/SOURCES.txt +0 -0
- {inferencesh-0.4.4 → inferencesh-0.4.7}/src/inferencesh.egg-info/dependency_links.txt +0 -0
- {inferencesh-0.4.4 → inferencesh-0.4.7}/src/inferencesh.egg-info/entry_points.txt +0 -0
- {inferencesh-0.4.4 → inferencesh-0.4.7}/src/inferencesh.egg-info/requires.txt +0 -0
- {inferencesh-0.4.4 → inferencesh-0.4.7}/src/inferencesh.egg-info/top_level.txt +0 -0
- {inferencesh-0.4.4 → inferencesh-0.4.7}/tests/test_client.py +0 -0
- {inferencesh-0.4.4 → inferencesh-0.4.7}/tests/test_sdk.py +0 -0
|
@@ -242,8 +242,10 @@ class File(BaseModel):
|
|
|
242
242
|
schema["$id"] = "/schemas/File"
|
|
243
243
|
# Create a schema that accepts either a string or the full object
|
|
244
244
|
return {
|
|
245
|
-
"
|
|
245
|
+
"anyOf": [
|
|
246
246
|
{"type": "string"}, # Accept string input
|
|
247
247
|
schema # Accept full object input
|
|
248
|
-
]
|
|
248
|
+
],
|
|
249
|
+
"title": "File",
|
|
250
|
+
"description": "A class representing a file in the inference.sh ecosystem."
|
|
249
251
|
}
|
|
@@ -606,8 +606,9 @@ def stream_generate(
|
|
|
606
606
|
"temperature": temperature,
|
|
607
607
|
"top_p": top_p,
|
|
608
608
|
"stop": stop,
|
|
609
|
-
**kwargs
|
|
610
609
|
}
|
|
610
|
+
if kwargs:
|
|
611
|
+
completion_kwargs.update(kwargs)
|
|
611
612
|
if tools is not None:
|
|
612
613
|
completion_kwargs["tools"] = tools
|
|
613
614
|
if tool_choice is not None:
|
|
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
|