forked from phoenix/litellm-mirror
ui - add langfuse callback
This commit is contained in:
parent
d95f3d5a23
commit
13e325f1f7
1 changed files with 2 additions and 11 deletions
|
@ -70,8 +70,7 @@ const Settings: React.FC<SettingsPageProps> = ({
|
|||
payload = {
|
||||
environment_variables: {
|
||||
LANGFUSE_PUBLIC_KEY: values.langfusePublicKey,
|
||||
LANGFUSE_SECRET_KEY: values.langfusePrivateKey,
|
||||
LANGFUSE_HOST: values.langfuseCloudUrl ,
|
||||
LANGFUSE_SECRET_KEY: values.langfusePrivateKey
|
||||
},
|
||||
litellm_settings: {
|
||||
success_callback: [values.callback]
|
||||
|
@ -165,15 +164,7 @@ const Settings: React.FC<SettingsPageProps> = ({
|
|||
<Input.Password />
|
||||
</Form.Item>
|
||||
|
||||
<Form.Item
|
||||
label="LANGFUSE_CLOUD_URL"
|
||||
name="langfuseCloudUrl"
|
||||
rules={[{ required: true, message: "Please enter the cloud URL" }]}
|
||||
>
|
||||
<Input.Password />
|
||||
</Form.Item>
|
||||
|
||||
|
||||
|
||||
<div style={{ textAlign: "right", marginTop: "10px" }}>
|
||||
<Button2 htmlType="submit">Save</Button2>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue