Merge pull request #3007 from BerriAI/litellm_test_langfuse_config

UI - test langfuse callbacks on Admin UI
This commit is contained in:
Ishaan Jaff 2024-04-13 17:00:42 -07:00 committed by GitHub
commit 4996ac7ed6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 50 additions and 11 deletions

View file

@ -17,7 +17,7 @@ import {
TextInput,
Col,
} from "@tremor/react";
import { getCallbacksCall, setCallbacksCall } from "./networking";
import { getCallbacksCall, setCallbacksCall, serviceHealthCheck } from "./networking";
import { Modal, Form, Input, Select, Button as Button2, message } from "antd";
import StaticGenerationSearchParamsBailoutProvider from "next/dist/client/components/static-generation-searchparams-bailout-provider";
@ -177,7 +177,7 @@ const Settings: React.FC<SettingsPageProps> = ({
</TableCell>
<TableCell>
<Button onClick={() => console.log(`Test Callback ${callback.name} clicked`)}>
<Button onClick={() => serviceHealthCheck(accessToken, callback.name)}>
Test Callback
</Button>
</TableCell>