mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-11 03:38:38 +00:00
chore(otel): drop the restating docstring from to_openai_dict
Some checks failed
LiteLLM Rust / rust-lint (push) Has been cancelled
LiteLLM Rust / rust-test (push) Has been cancelled
LiteLLM Rust / rust-wheel (push) Has been cancelled
Terraform Provider / gofmt, vet, build, test (push) Has been cancelled
Terraform Provider / Provider endpoints vs proxy OpenAPI schema (push) Has been cancelled
Some checks failed
LiteLLM Rust / rust-lint (push) Has been cancelled
LiteLLM Rust / rust-test (push) Has been cancelled
LiteLLM Rust / rust-wheel (push) Has been cancelled
Terraform Provider / gofmt, vet, build, test (push) Has been cancelled
Terraform Provider / Provider endpoints vs proxy OpenAPI schema (push) Has been cancelled
This commit is contained in:
parent
efd1b0dc14
commit
d844758668
1 changed files with 0 additions and 5 deletions
|
|
@ -22,11 +22,6 @@ class MessageToolCall:
|
||||||
arguments: str | None
|
arguments: str | None
|
||||||
|
|
||||||
def to_openai_dict(self) -> Mapping[str, object]:
|
def to_openai_dict(self) -> Mapping[str, object]:
|
||||||
"""The OpenAI wire shape of this tool call.
|
|
||||||
|
|
||||||
The runtime object is a plain dict (it is only ever JSON-serialized);
|
|
||||||
the ``Mapping`` return type marks it read-only to callers.
|
|
||||||
"""
|
|
||||||
return {
|
return {
|
||||||
"id": self.id,
|
"id": self.id,
|
||||||
"type": self.type,
|
"type": self.type,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue