GPTRouter 0.4.4__tar.gz → 0.4.5__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.
- {GPTRouter-0.4.4 → GPTRouter-0.4.5}/GPTRouter.egg-info/PKG-INFO +1 -1
- {GPTRouter-0.4.4 → GPTRouter-0.4.5}/PKG-INFO +1 -1
- {GPTRouter-0.4.4 → GPTRouter-0.4.5}/gpt_router/models.py +2 -2
- {GPTRouter-0.4.4 → GPTRouter-0.4.5}/setup.py +1 -1
- {GPTRouter-0.4.4 → GPTRouter-0.4.5}/GPTRouter.egg-info/SOURCES.txt +0 -0
- {GPTRouter-0.4.4 → GPTRouter-0.4.5}/GPTRouter.egg-info/dependency_links.txt +0 -0
- {GPTRouter-0.4.4 → GPTRouter-0.4.5}/GPTRouter.egg-info/requires.txt +0 -0
- {GPTRouter-0.4.4 → GPTRouter-0.4.5}/GPTRouter.egg-info/top_level.txt +0 -0
- {GPTRouter-0.4.4 → GPTRouter-0.4.5}/LICENSE +0 -0
- {GPTRouter-0.4.4 → GPTRouter-0.4.5}/README.md +0 -0
- {GPTRouter-0.4.4 → GPTRouter-0.4.5}/gpt_router/__init__.py +0 -0
- {GPTRouter-0.4.4 → GPTRouter-0.4.5}/gpt_router/client.py +0 -0
- {GPTRouter-0.4.4 → GPTRouter-0.4.5}/gpt_router/constants.py +0 -0
- {GPTRouter-0.4.4 → GPTRouter-0.4.5}/gpt_router/enums.py +0 -0
- {GPTRouter-0.4.4 → GPTRouter-0.4.5}/gpt_router/exceptions.py +0 -0
- {GPTRouter-0.4.4 → GPTRouter-0.4.5}/pyproject.toml +0 -0
- {GPTRouter-0.4.4 → GPTRouter-0.4.5}/setup.cfg +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from uuid import UUID
|
|
2
2
|
from pydantic import BaseModel, Field
|
|
3
3
|
|
|
4
|
-
from typing import List, Optional, Dict, Any
|
|
4
|
+
from typing import List, Optional, Dict, Any, Union
|
|
5
5
|
from humps import camelize
|
|
6
6
|
|
|
7
7
|
|
|
@@ -29,7 +29,7 @@ class GenerationParams(BaseModel):
|
|
|
29
29
|
functions: Optional[List[Any]] = None
|
|
30
30
|
function_call: Optional[dict] = None
|
|
31
31
|
tools: Optional[List[Any]] = None
|
|
32
|
-
tool_choice: Optional[str] = None
|
|
32
|
+
tool_choice: Optional[Union[str, dict]] = None
|
|
33
33
|
response_format: Optional[Dict[str, Any]] = None
|
|
34
34
|
parallel_tool_calls: Optional[bool] = None
|
|
35
35
|
tag: Optional[str] = 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
|