mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 18:24:20 +00:00
update readme with contributing.md information
This commit is contained in:
parent
a5425df91f
commit
78da8e7e65
4 changed files with 27 additions and 0 deletions
27
README.md
27
README.md
|
@ -93,6 +93,33 @@ result = completion('claude-2', messages, stream=True)
|
||||||
for chunk in result:
|
for chunk in result:
|
||||||
print(chunk['choices'][0]['delta'])
|
print(chunk['choices'][0]['delta'])
|
||||||
```
|
```
|
||||||
|
# Contributing
|
||||||
|
To contribute: Clone the repo locally -> Make a change -> Submit a PR with the change.
|
||||||
|
|
||||||
|
Here's how to modify the repo locally:
|
||||||
|
Step 1: Clone the repo
|
||||||
|
```
|
||||||
|
git clone https://github.com/BerriAI/litellm.git
|
||||||
|
```
|
||||||
|
|
||||||
|
Step 2: Navigate into the project, and install dependencies:
|
||||||
|
```
|
||||||
|
cd litellm
|
||||||
|
poetry install
|
||||||
|
```
|
||||||
|
|
||||||
|
Step 3: Test your change:
|
||||||
|
```
|
||||||
|
cd litellm/tests # pwd: Documents/litellm/litellm/tests
|
||||||
|
pytest .
|
||||||
|
```
|
||||||
|
|
||||||
|
Step 4: Submit a PR with your changes! 🚀
|
||||||
|
- push your fork to your github repo
|
||||||
|
- submit a PR from there
|
||||||
|
|
||||||
|
[Learn more on how to make a PR](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request)
|
||||||
|
|
||||||
|
|
||||||
# Support / talk with founders
|
# Support / talk with founders
|
||||||
- [Schedule Demo 👋](https://calendly.com/d/4mp-gd3-k5k/berriai-1-1-onboarding-litellm-hosted-version)
|
- [Schedule Demo 👋](https://calendly.com/d/4mp-gd3-k5k/berriai-1-1-onboarding-litellm-hosted-version)
|
||||||
|
|
BIN
dist/litellm-0.1.689-py3-none-any.whl
vendored
Normal file
BIN
dist/litellm-0.1.689-py3-none-any.whl
vendored
Normal file
Binary file not shown.
BIN
dist/litellm-0.1.689.tar.gz
vendored
Normal file
BIN
dist/litellm-0.1.689.tar.gz
vendored
Normal file
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue