forked from phoenix/litellm-mirror
switch off prod logs on ui
This commit is contained in:
parent
7f847f194d
commit
896026c468
15 changed files with 48 additions and 11 deletions
|
@ -45,7 +45,7 @@ async function generateModelResponse(
|
|||
) {
|
||||
// base url should be the current base_url
|
||||
const isLocal = process.env.NODE_ENV === "development";
|
||||
if (isLocal === true) {
|
||||
if (isLocal != true) {
|
||||
console.log = function() {};
|
||||
}
|
||||
console.log("isLocal:", isLocal);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue