mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-19 00:01:29 +00:00
Revert "fix(ui): fix Next.js 15 build errors and remove deprecated config"
This reverts commit e4dfd1e239.
This commit is contained in:
parent
d1da3fed10
commit
c2e7a002c7
2 changed files with 8 additions and 5 deletions
|
|
@ -5,4 +5,8 @@ const nextConfig = {
|
|||
assetPrefix: "/litellm-asset-prefix", // If a server_root_path is set, this will be overridden by runtime injection
|
||||
};
|
||||
|
||||
nextConfig.experimental = {
|
||||
missingSuspenseWithCSRBailout: false,
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ import {
|
|||
Title,
|
||||
} from "@tremor/react";
|
||||
import React, { useEffect, useMemo, useRef, useState } from "react";
|
||||
import Link from "next/link";
|
||||
import { CredentialItem, credentialListCall, CredentialsResponse } from "../networking";
|
||||
|
||||
import { handleAddModelSubmit } from "../add_model/handle_add_model_submit";
|
||||
|
|
@ -1139,23 +1138,23 @@ const OldModelDashboard: React.FC<ModelDashboardProps> = ({
|
|||
{currentTeam === "personal" ? (
|
||||
<span>
|
||||
To access these models: Create a Virtual Key without selecting a team on the{" "}
|
||||
<Link
|
||||
<a
|
||||
href="/?login=success&page=api-keys"
|
||||
className="text-gray-600 hover:text-gray-800 underline"
|
||||
>
|
||||
Virtual Keys page
|
||||
</Link>
|
||||
</a>
|
||||
</span>
|
||||
) : (
|
||||
<span>
|
||||
To access these models: Create a Virtual Key and select Team as "
|
||||
{currentTeam}" on the{" "}
|
||||
<Link
|
||||
<a
|
||||
href="/?login=success&page=api-keys"
|
||||
className="text-gray-600 hover:text-gray-800 underline"
|
||||
>
|
||||
Virtual Keys page
|
||||
</Link>
|
||||
</a>
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue