Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
cocktailpeanut committed Apr 27, 2024
1 parent bb7e9f4 commit 4e8ec85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion convex/util/llm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export async function chatCompletion(
// OLLAMA_MODEL is legacy
body.model =
body.model ?? process.env.LLM_MODEL ?? process.env.OLLAMA_MODEL ?? LLM_CONFIG.chatModel;
console.log("base.model = ", base.model)
console.log("body.model = ", body.model)
const stopWords = body.stop ? (typeof body.stop === 'string' ? [body.stop] : body.stop) : [];
if (LLM_CONFIG.ollama) stopWords.push('<|eot_id|>');
console.log(body);
Expand Down

0 comments on commit 4e8ec85

Please sign in to comment.