mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-25 08:31:37 -05:00
docs: await promise function convertToModelMessages (#7089)
This commit is contained in:
@@ -22,7 +22,7 @@ export async function POST(req: Request) {
|
||||
inputSchema: ProvideLinksToolSchema,
|
||||
},
|
||||
},
|
||||
messages: convertToModelMessages(reqJson.messages, {
|
||||
messages: await convertToModelMessages(reqJson.messages, {
|
||||
ignoreIncompleteToolCalls: true,
|
||||
}),
|
||||
toolChoice: "auto",
|
||||
|
||||
Reference in New Issue
Block a user