oops. forgot to use openrouter from the ctx
This commit is contained in:
+1
-1
@@ -99,7 +99,7 @@ export const facts = router({
|
||||
messagesSincePreviousRunningSummary,
|
||||
newMessages,
|
||||
},
|
||||
ctx: { db },
|
||||
ctx: { openrouter },
|
||||
}) => {
|
||||
const factsFromUserMessageResponse = await generateObject({
|
||||
model: openrouter(MODEL_NAME),
|
||||
|
||||
Reference in New Issue
Block a user