Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

This project contains the Agentuity documentation website, created using Fumadocs and running on NextJS 15.


To make the search feature work, you must set up `.env.local` with the following steps.

## Quick Start Guide
Expand Down
3 changes: 3 additions & 0 deletions app/(docs)/[[...slug]]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ import { source } from '@/lib/source';
import { CommunityButton } from '../../../components/Community';
import CopyPageDropdown from '../../../components/CopyPageDropdown';
import { NavButton } from '../../../components/NavButton';
import CodeFromFiles from '../../../components/CodeFromFiles';


export default async function Page(props: {
params: Promise<{ slug?: string[] }>;
Expand Down Expand Up @@ -56,6 +58,7 @@ export default async function Page(props: {
PopupContent,
PopupTrigger,
CodeExample,
CodeFromFiles,
CLICommand,
CommunityButton,
Mermaid,
Expand Down
4 changes: 2 additions & 2 deletions app/api/rag-search/route.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { NextRequest } from 'next/server';
import { getAgentConfig } from '@/lib/env';
import { getAgentQaConfig } from '@/lib/env';
import { source } from '@/lib/source';

function documentPathToUrl(docPath: string): string {
Expand Down Expand Up @@ -93,7 +93,7 @@ export async function GET(request: NextRequest) {
}

try {
const agentConfig = getAgentConfig();
const agentConfig = getAgentQaConfig();

// Prepare headers
const headers: Record<string, string> = {
Expand Down
Loading