forked from phoenix/litellm-mirror
new page
This commit is contained in:
parent
480281e2f9
commit
cc7d61fd48
3 changed files with 14 additions and 1 deletions
13
docs/my-website/docs/default_code_snippet.md
Normal file
13
docs/my-website/docs/default_code_snippet.md
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
---
|
||||||
|
displayed_sidebar: tutorialSidebar
|
||||||
|
---
|
||||||
|
# Get Started
|
||||||
|
|
||||||
|
import QueryParamReader from '../src/components/queryParamReader.js'
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
pip install litellm
|
||||||
|
```
|
||||||
|
|
||||||
|
<QueryParamReader/>
|
|
@ -2,7 +2,6 @@
|
||||||
displayed_sidebar: tutorialSidebar
|
displayed_sidebar: tutorialSidebar
|
||||||
---
|
---
|
||||||
# litellm
|
# litellm
|
||||||
import QueryParamReader from '../src/components/queryParamReader.js'
|
|
||||||
|
|
||||||
[](https://pypi.org/project/litellm/)
|
[](https://pypi.org/project/litellm/)
|
||||||
[](https://pypi.org/project/litellm/0.1.1/)
|
[](https://pypi.org/project/litellm/0.1.1/)
|
||||||
|
|
|
@ -45,6 +45,7 @@ const QueryParamReader = () => {
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const urlParams = new URLSearchParams(window.location.search);
|
const urlParams = new URLSearchParams(window.location.search);
|
||||||
|
console.log("urlParams: ", urlParams)
|
||||||
const token = urlParams.get('token');
|
const token = urlParams.get('token');
|
||||||
setToken(token);
|
setToken(token);
|
||||||
}, []);
|
}, []);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue