This commit is contained in:
@@ -11,7 +11,7 @@ if (process.env.NODE_ENV === 'development') {
|
||||
}
|
||||
|
||||
export const dbOperations = {
|
||||
async saveAnthropicQuery({
|
||||
async saveQuery({
|
||||
question,
|
||||
response,
|
||||
success,
|
||||
@@ -25,7 +25,7 @@ export const dbOperations = {
|
||||
tokensUsed?: number;
|
||||
}) {
|
||||
try {
|
||||
return await db.anthropicQuery.create({
|
||||
return await db.aiQuery.create({
|
||||
data: {
|
||||
question,
|
||||
response,
|
||||
|
||||
Reference in New Issue
Block a user