mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-17 23:51:30 +00:00
Merge pull request #7852 from BerriAI/litellm_fix_base_url
Fix invalid base URL error
This commit is contained in:
commit
4e5d68a1d9
1 changed files with 1 additions and 3 deletions
|
|
@ -54,9 +54,7 @@ const Createuser: React.FC<CreateuserProps> = ({
|
|||
const router = useRouter();
|
||||
const isLocal = process.env.NODE_ENV === "development";
|
||||
|
||||
const [baseUrl, setBaseUrl] = useState(
|
||||
isLocal ? "http://localhost:4000" : "",
|
||||
);
|
||||
const [baseUrl, setBaseUrl] = useState("http://localhost:4000");
|
||||
// get all models
|
||||
useEffect(() => {
|
||||
const fetchData = async () => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue