We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f83d7a9 commit 0072144Copy full SHA for 0072144
agent-memory-client/agent_memory_client/tool_schema.py
@@ -34,17 +34,17 @@ class ToolSchema:
34
def __init__(
35
self,
36
schema: dict[str, Any],
37
- format: Literal["openai", "anthropic"] = "openai",
+ schema_format: Literal["openai", "anthropic"] = "openai",
38
):
39
"""
40
Initialize a ToolSchema wrapper.
41
42
Args:
43
schema: The raw schema dictionary
44
- format: The schema format ("openai" or "anthropic")
+ schema_format: The schema format ("openai" or "anthropic")
45
46
self._schema = schema
47
- self._format = format
+ self._format = schema_format
48
49
@property
50
def format(self) -> Literal["openai", "anthropic"]:
0 commit comments