diff --git a/app/api/chat/route.ts b/app/api/chat/route.ts index eb8d477..0523e10 100644 --- a/app/api/chat/route.ts +++ b/app/api/chat/route.ts @@ -19,7 +19,6 @@ export async function POST(req: NextRequest) { try { let url = `${geminiApiBaseUrl || GEMINI_API_BASE_URL}/${version}/models/${model}` if (!model.startsWith('imagen')) url += '?alt=sse' - console.log(url) const response = await fetch(url, { method: 'POST', headers: { diff --git a/app/page.tsx b/app/page.tsx index f7abc8f..24ac528 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -980,7 +980,7 @@ export default function Home() {
diff --git a/components/AppSidebar.tsx b/components/AppSidebar.tsx index 49f7b46..dfb6dbb 100644 --- a/components/AppSidebar.tsx +++ b/components/AppSidebar.tsx @@ -184,7 +184,7 @@ function ConversationItem(props: Props) { let mdContentList: string[] = [] const wrapJsonCode = (content: string) => { - return `\`\`\`json \n${content} \n\`\`\`` + return `\`\`\`json\n${content}\n\`\`\`` } if (conversation.systemInstruction) {