mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 20:14:13 +00:00
update inference adapters
This commit is contained in:
parent
29d1ef3fdc
commit
7d6ebf4b72
5 changed files with 75 additions and 5 deletions
|
@ -249,7 +249,12 @@ class InferenceTests(unittest.IsolatedAsyncioTestCase):
|
|||
stream=True,
|
||||
tools=[ToolDefinition(tool_name=BuiltinTool.brave_search)],
|
||||
)
|
||||
iterator = self.api.chat_completion(request)
|
||||
iterator = self.api.chat_completion(
|
||||
request.model,
|
||||
request.messages,
|
||||
stream=request.stream,
|
||||
tools=request.tools,
|
||||
)
|
||||
|
||||
events = []
|
||||
async for chunk in iterator:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue