feat: dynamic model discovery from vercel ai gateway (#1353)
This commit is contained in:
parent
2b0b42d144
commit
b1da86062e
74 changed files with 7426 additions and 2277 deletions
|
|
@ -59,7 +59,11 @@ export const systemPrompt = ({
|
|||
}) => {
|
||||
const requestPrompt = getRequestPromptFromHints(requestHints);
|
||||
|
||||
if (selectedChatModel === "chat-model-reasoning") {
|
||||
// reasoning models don't need artifacts prompt (they can't use tools)
|
||||
if (
|
||||
selectedChatModel.includes("reasoning") ||
|
||||
selectedChatModel.includes("thinking")
|
||||
) {
|
||||
return `${regularPrompt}\n\n${requestPrompt}`;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue