🐛 Bug: Fix the bug where tool use is not compatible with enum fields.
Browse files
models.py
CHANGED
|
@@ -5,7 +5,7 @@ from log_config import logger
|
|
| 5 |
|
| 6 |
class FunctionParameter(BaseModel):
|
| 7 |
type: str
|
| 8 |
-
properties: Dict[str, Dict[str,
|
| 9 |
required: List[str]
|
| 10 |
|
| 11 |
class Function(BaseModel):
|
|
|
|
| 5 |
|
| 6 |
class FunctionParameter(BaseModel):
|
| 7 |
type: str
|
| 8 |
+
properties: Dict[str, Dict[str, Any]]
|
| 9 |
required: List[str]
|
| 10 |
|
| 11 |
class Function(BaseModel):
|