fix: build errors (couldn't find package)
This commit is contained in:
+3
-3
@@ -4,7 +4,7 @@ import type {
|
||||
OtherParameters,
|
||||
CommittedMessage,
|
||||
DraftMessage,
|
||||
} from "@/types.js";
|
||||
} from "../../types.js";
|
||||
// import { client } from "../../database/milvus";
|
||||
// import {
|
||||
// ConsistencyLevelEnum,
|
||||
@@ -16,8 +16,8 @@ import { facts, createCaller as createCallerFacts } from "./facts.js";
|
||||
import { createCaller as createCallerMessages } from "./messages.js";
|
||||
import { createCaller as createCallerFactTriggers } from "./fact-triggers.js";
|
||||
import { factTriggers } from "./fact-triggers.js";
|
||||
import { MODEL_NAME } from "@/server/provider.js";
|
||||
import type { Fact, FactTrigger } from "@/database/common.js";
|
||||
import { MODEL_NAME } from "../provider.js";
|
||||
import type { Fact, FactTrigger } from "@database/common";
|
||||
|
||||
const mainSystemPrompt = ({
|
||||
systemPrompt,
|
||||
|
||||
@@ -1,12 +1,8 @@
|
||||
import {
|
||||
router,
|
||||
publicProcedure,
|
||||
createCallerFactory,
|
||||
} from "@/server/trpc/server.js";
|
||||
import type { DraftMessage } from "@/types.js";
|
||||
import { MODEL_NAME } from "@/server/provider.js";
|
||||
import { router, publicProcedure, createCallerFactory } from "./server.js";
|
||||
import type { DraftMessage } from "../../types.js";
|
||||
import { MODEL_NAME } from "../provider.js";
|
||||
import { generateObject, generateText, jsonSchema } from "ai";
|
||||
import type { Fact } from "@/database/common.js";
|
||||
import type { Fact } from "@database/common.js";
|
||||
|
||||
const factTriggersSystemPrompt = ({
|
||||
previousRunningSummary,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { router, publicProcedure, createCallerFactory } from "./server.js";
|
||||
import type { DraftMessage } from "@/types.js";
|
||||
import { MODEL_NAME, openrouter } from "@/server/provider.js";
|
||||
import type { DraftMessage } from "../../types.js";
|
||||
import { MODEL_NAME, openrouter } from "../provider.js";
|
||||
import { generateObject, generateText, jsonSchema } from "ai";
|
||||
|
||||
const factsFromNewMessagesSystemPrompt = ({
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
import {
|
||||
router,
|
||||
publicProcedure,
|
||||
createCallerFactory,
|
||||
} from "@/server/trpc/server";
|
||||
import { router, publicProcedure, createCallerFactory } from "./server";
|
||||
import { MODEL_NAME } from "../provider.js";
|
||||
import { generateObject, generateText, jsonSchema } from "ai";
|
||||
import type { DraftMessage } from "../../types.js";
|
||||
|
||||
Reference in New Issue
Block a user