fix: OAI compat endpoint for meta reference inference provider

This commit is contained in:
Eric Huang 2025-04-17 11:10:09 -07:00 committed by Eric Huang
parent 8bd6665775
commit c171fc6062
8 changed files with 1184 additions and 44 deletions

View file

@ -5,6 +5,7 @@
# the root directory of this source tree.
import io
import json
import uuid
from dataclasses import dataclass
from typing import Dict, List, Optional, Tuple
@ -299,6 +300,7 @@ class ChatFormat:
call_id=call_id,
tool_name=tool_name,
arguments=tool_arguments,
arguments_json=json.dumps(tool_arguments),
)
)