Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

bye (#6982)

yujonglee1eb9b4ee1374
diff --git a/docs/my-website/package.json b/docs/my-website/package.json
index f0f09a365ed..b6ad649e624 100644
--- a/docs/my-website/package.json
+++ b/docs/my-website/package.json
@@ -18,7 +18,6 @@
"@docusaurus/plugin-google-gtag": "^2.4.1",
"@docusaurus/plugin-ideal-image": "^2.4.1",
"@docusaurus/preset-classic": "2.4.1",
- "@getcanary/web": "^1.0.9",
"@mdx-js/react": "^1.6.22",
"clsx": "^1.2.1",
"docusaurus": "^1.14.7",
diff --git a/docs/my-website/src/theme/SearchBar.js b/docs/my-website/src/theme/SearchBar.js
deleted file mode 100644
index 1110583ccb1..00000000000
--- a/docs/my-website/src/theme/SearchBar.js
+++ /dev/null
@@ -1,86 +0,0 @@
-import React from "react";
-import SearchBar from "@theme-original/SearchBar";
-
-export default function SearchBarWrapper(props) {
- const [loaded, setLoaded] = React.useState(false);
-
- React.useEffect(() => {
- Promise.all([
- import("@getcanary/web/components/canary-root"),
- import("@getcanary/web/components/canary-provider-cloud"),
- import("@getcanary/web/components/canary-modal"),
- import("@getcanary/web/components/canary-trigger-logo"),
- import("@getcanary/web/components/canary-input"),
- import("@getcanary/web/components/canary-content"),
- import("@getcanary/web/components/canary-search"),
- import("@getcanary/web/components/canary-search-results"),
- import("@getcanary/web/components/canary-search-match-github-issue"),
- import("@getcanary/web/components/canary-search-match-github-discussion"),
- import("@getcanary/web/components/canary-filter-tabs-glob.js"),
- import("@getcanary/web/components/canary-filter-tags.js"),
- import("@getcanary/web/components/canary-footer.js"),
- ])
- .then(() => setLoaded(true))
- .catch(console.error);
- }, []);
-
- const PUBLIC_KEY = "cp1a506f13";
-
- const TAGS = "All,Proxy";
-
- const TABS = JSON.stringify([
- { name: "Docs", pattern: "**/docs.litellm.ai/**" },
- { name: "Github", pattern: "**/github.com/**" },
- ]);
-
- return (
- <div
- style={{
- display: "flex",
- flexDirection: "row",
- alignItems: "center",
- gap: "6px",
- }}
- >
- {!loaded ? (
- <button
- style={{
- fontSize: "2rem",
- backgroundColor: "transparent",
- border: "none",
- outline: "none",
- padding: "0",
- marginRight: "6px",
- }}
- >
- 🐤
- </button>
- ) : (
- <canary-root framework="docusaurus">
- <canary-provider-cloud project-key={PUBLIC_KEY}>
- <canary-modal>
- <canary-trigger-logo slot="trigger"></canary-trigger-logo>
- <canary-content slot="content">
- <canary-filter-tags
- slot="head"
- tags={TAGS}
- ></canary-filter-tags>
- <canary-input slot="input" autofocus></canary-input>
- <canary-search slot="mode">
- <canary-filter-tabs-glob
- slot="head"
- tabs={TABS}
- ></canary-filter-tabs-glob>
- <canary-search-results slot="body"></canary-search-results>
- </canary-search>
- <canary-footer slot="footer"></canary-footer>
- </canary-content>
- </canary-modal>
- </canary-provider-cloud>
- </canary-root>
- )}
-
- <SearchBar {...props} />
- </div>
- );
-}