-
-
Notifications
You must be signed in to change notification settings - Fork 91
LiteLLM Script #786
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LiteLLM Script #786
Conversation
The master key is hardcoded. It is used for the admin login. Is there a better way to handle this? |
general_settings: | ||
master_key: sk-1234 | ||
database_url: postgresql://$DB_USER:$DB_PASS@127.0.0.1:5432/$DB_NAME | ||
store_model_in_db: true | ||
EOF |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I only just started using litellm. This config is working for me...
Their docs have a production best practices page. I haven't gone through it yet.
https://docs.litellm.ai/docs/proxy/prod
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but looks already pretty good, thx
install/litellm-install.sh
Outdated
$STD apt-get install -y \ | ||
python3 \ | ||
python3-dev \ | ||
python3-pip | ||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use an uv based venv, to follow suggestions in this PR:
community-scripts/ProxmoxVE#4961
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Refactored to use UV.
I'm not the most familiar with python. Let me know if I missed anything there.
.gitignore
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you cleanly re-add this with only this line:
.vscode/settings.json
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry about that, didn't mean to cause trouble. Those ds store files can get annoying.
3f256d7
to
89c3c77
Compare
0755572
to
c7c5fa5
Compare
This reverts commit 89c3c77.
c8ad15f
to
2b8ac54
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove Changes of func Files in this PR, i Check it at monday
This reverts commit 9c1670f.
Sorry about the pings, I added that in for testing. Should be all set for another review. |
🛑 New scripts must first be submitted to ProxmoxVED for testing.
PRs for new scripts that skip this process will be closed.
✍️ Description
Adds LiteLLM LXC Script
🔗 Related PR / Issue
✅ Prerequisites (X in brackets)
🛠️ Type of Change (X in brackets)
README
,AppName.md
,CONTRIBUTING.md
, or other docs.🔍 Code & Security Review (X in brackets)
Code_Audit.md
&CONTRIBUTING.md
guidelinesAppName.sh
,AppName-install.sh
,AppName.json
)📋 Additional Information (optional)