feat: support tools in bedrock (#1598)
This commit is contained in:
@@ -228,7 +228,7 @@ function M:parse_curl_args(prompt_opts)
|
||||
local tools = {}
|
||||
if not disable_tools and prompt_opts.tools then
|
||||
for _, tool in ipairs(prompt_opts.tools) do
|
||||
table.insert(tools, OpenAI.transform_tool(tool))
|
||||
table.insert(tools, OpenAI:transform_tool(tool))
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user