This commit is contained in:
Krrish Dholakia 2023-08-24 13:19:24 -07:00
parent 480281e2f9
commit cc7d61fd48
3 changed files with 14 additions and 1 deletions

View file

@ -0,0 +1,13 @@
---
displayed_sidebar: tutorialSidebar
---
# Get Started
import QueryParamReader from '../src/components/queryParamReader.js'
```
pip install litellm
```
<QueryParamReader/>

View file

@ -2,7 +2,6 @@
displayed_sidebar: tutorialSidebar
---
# litellm
import QueryParamReader from '../src/components/queryParamReader.js'
[![PyPI Version](https://img.shields.io/pypi/v/litellm.svg)](https://pypi.org/project/litellm/)
[![PyPI Version](https://img.shields.io/badge/stable%20version-v0.1.345-blue?color=green&link=https://pypi.org/project/litellm/0.1.1/)](https://pypi.org/project/litellm/0.1.1/)

View file

@ -45,6 +45,7 @@ const QueryParamReader = () => {
useEffect(() => {
const urlParams = new URLSearchParams(window.location.search);
console.log("urlParams: ", urlParams)
const token = urlParams.get('token');
setToken(token);
}, []);