Skip to content

Commit 6b97d43

Browse files
committed
Fix build errors
1 parent 61c3ecc commit 6b97d43

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed
File renamed without changes.

src/lib/ai/chat-bot.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import { type LanguageModel, streamText, type CoreMessage, generateObject } from "ai";
2-
import { type ZodType, type ZodTypeDef } from "zod";
1+
import { type LanguageModel, streamText, type CoreMessage } from "ai";
32
import { mosLookup } from "./tools/mos-lookup";
43

54
const baseContext = `

src/lib/ai/tools/mos-lookup.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { tool } from "ai";
22
import { z } from "zod";
33
import axios from "axios";
44
import { chromium } from "@playwright/test";
5-
import { gemini } from "../gemini";
65

76
const { ONET_USER } = process.env;
87
const { ONET_PASSWORD } = process.env;

src/pages/chat.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import { useChat } from "@ai-sdk/react";
44
import { NextPage } from "next";
55
import Layout from "@layout/layout-01";
6-
import { useSession, getSession } from "next-auth/react";
6+
import { useSession } from "next-auth/react";
77
import { useRouter } from "next/router";
88
import { useEffect } from "react";
99

0 commit comments

Comments
 (0)