Skip to content

Commit

Permalink
fix: Make tool id optional
Browse files Browse the repository at this point in the history
  • Loading branch information
whiterabbit1983 committed May 8, 2024
1 parent 3545c1c commit 4e9799f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model-serving/model_api/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class Type(Enum):
class Tool(BaseModel):
type: Type
function: FunctionDef
id: str
id: str | None = None


class SamplingParams(SamplingParams):
Expand Down

0 comments on commit 4e9799f

Please sign in to comment.