mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-06 02:48:13 +00:00
fix(ui): drop the saved qualifier from the OAuth client field labels
A plain optional label implies the field is persisted like any other form field; the qualifier was only there to contrast with the removed not-saved wording
This commit is contained in:
parent
3913a4af59
commit
8b8a28848c
2 changed files with 4 additions and 4 deletions
|
|
@ -45,7 +45,7 @@ export default function PassthroughAuthorizeSection({
|
|||
authorize from the Tools page go through it.
|
||||
</p>
|
||||
<Form.Item
|
||||
label={<span className="text-sm font-medium text-gray-700">OAuth Client ID (optional, saved)</span>}
|
||||
label={<span className="text-sm font-medium text-gray-700">OAuth Client ID (optional)</span>}
|
||||
name={["credentials", "client_id"]}
|
||||
extra="Only needed when the upstream does not support dynamic client registration (e.g. a pre-registered Slack app)."
|
||||
>
|
||||
|
|
@ -55,7 +55,7 @@ export default function PassthroughAuthorizeSection({
|
|||
/>
|
||||
</Form.Item>
|
||||
<Form.Item
|
||||
label={<span className="text-sm font-medium text-gray-700">OAuth Client Secret (optional, saved)</span>}
|
||||
label={<span className="text-sm font-medium text-gray-700">OAuth Client Secret (optional)</span>}
|
||||
name={["credentials", "client_secret"]}
|
||||
>
|
||||
<Input.Password
|
||||
|
|
|
|||
|
|
@ -202,8 +202,8 @@ describe("CreateMCPServer", () => {
|
|||
await waitFor(() => {
|
||||
expect(screen.getByRole("button", { name: "Authorize & Fetch Tools (browser-only)" })).toBeInTheDocument();
|
||||
});
|
||||
expect(screen.getByText("OAuth Client ID (optional, saved)")).toBeInTheDocument();
|
||||
expect(screen.getByText("OAuth Client Secret (optional, saved)")).toBeInTheDocument();
|
||||
expect(screen.getByText("OAuth Client ID (optional)")).toBeInTheDocument();
|
||||
expect(screen.getByText("OAuth Client Secret (optional)")).toBeInTheDocument();
|
||||
},
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue