# What does this PR do?


## Test Plan
# What does this PR do?


## Test Plan
# What does this PR do?


## Test Plan
This commit is contained in:
Eric Huang 2025-06-25 20:10:45 -07:00
parent 114946ae88
commit a4d84f7805
22 changed files with 821 additions and 38 deletions

View file

@ -11,7 +11,7 @@ import {
extractDisplayableText,
} from "@/lib/format-message-content";
import { usePagination } from "@/hooks/usePagination";
import { client } from "@/lib/client";
import { getClient } from "@/lib/client";
interface ChatCompletionsTableProps {
/** Optional pagination configuration */
@ -38,7 +38,7 @@ export function ChatCompletionsTable({
model?: string;
order?: string;
}) => {
const response = await client.chat.completions.list({
const response = await getClient().chat.completions.list({
after: params.after,
limit: params.limit,
...(params.model && { model: params.model }),