mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
fix: update platform mcp warning copy
This commit is contained in:
parent
9221010a1f
commit
e9697b26bc
2 changed files with 4 additions and 3 deletions
|
|
@ -26,7 +26,8 @@ describe("PlatformMCPTab", () => {
|
|||
it("shows the pre-v0 warning and v0 meta-tools", async () => {
|
||||
render(<PlatformMCPTab accessToken="token" />);
|
||||
|
||||
expect(await screen.findByText(/Platform MCP is a pre-v0 feature/i)).toBeInTheDocument();
|
||||
expect(await screen.findByText(/This can change unexpectedly/i)).toBeInTheDocument();
|
||||
expect(screen.getByText(/product@berri.ai/i)).toBeInTheDocument();
|
||||
expect(screen.getByText(/tools\/list responses/i)).toBeInTheDocument();
|
||||
expect(screen.getByText("list_servers")).toBeInTheDocument();
|
||||
expect(screen.getByText("enable_server")).toBeInTheDocument();
|
||||
|
|
|
|||
|
|
@ -97,8 +97,8 @@ const PlatformMCPTab: React.FC<PlatformMCPTabProps> = ({ accessToken }) => {
|
|||
<div className="flex items-center gap-2 rounded-lg border border-amber-200 bg-amber-50 px-4 py-3 text-sm text-amber-800">
|
||||
<ExperimentOutlined className="flex-shrink-0 text-amber-600" />
|
||||
<span>
|
||||
Platform MCP is a pre-v0 feature. The dashboard control is only available to proxy admins and should not be
|
||||
used in production.
|
||||
Platform MCP is a pre-v0 feature. This can change unexpectedly. Do not use this in production. If you have
|
||||
feedback, please email product@berri.ai.
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue