fix - test langfuse callbacks

This commit is contained in:
Ishaan Jaff 2024-04-13 16:28:46 -07:00
parent 90650cf4e1
commit 48069b4e23
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>