mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-05 23:06:35 +00:00
9a6d5c119e
* feat: MCP Servers with CRUD operations (#10699) * feat: mcp CRUD operations with authn/authz * feat: mcp server UI * mcp server page with overview, mcp tools, and settings page * Adding MCP Server flow * prisma generate before test * UI callbacks add/remove with api server refetch * test fix: poetry run prisma * feat: mcp server db and config connection * fix: MCPTool filter on description when not present * feat: mcp on UI and integrated with list tools * feat: Update mcp server endpoint * tests: Unit and integration tests for mcp management endpoints * fix: docs and ensuring global_mcp_manage up to date * ui: remove the mcp tools view * fix: ruff lint * fix: unit -> integration test area * fix(ui): remove left nav menu of previous tools --------- Co-authored-by: wagnerjt <wagnerjt@github.com> Co-authored-by: Ishaan Jaff <ishaanjaffer0324@gmail.com> * fix: sync DB MCP tools with in memory * fix: sync DB MCP tools with in memory * fix: stop using prisma.models * fix: code qa check * fix: import MCP * fix: code QA checks * fix: code QA checks * fixes - only list tools for the specific MCP server * fix: only list MCP tools for selected server * fix linting error --------- Co-authored-by: Tyler Wagner <wagnerjt@users.noreply.github.com> Co-authored-by: wagnerjt <wagnerjt@github.com>
41 lines
1.0 KiB
YAML
41 lines
1.0 KiB
YAML
name: LiteLLM Mock Tests (folder - tests/test_litellm)
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 8
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Thank You Message
|
|
run: |
|
|
echo "### 🙏 Thank you for contributing to LiteLLM!" >> $GITHUB_STEP_SUMMARY
|
|
echo "Your PR is being tested now. We appreciate your help in making LiteLLM better!" >> $GITHUB_STEP_SUMMARY
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: '3.12'
|
|
|
|
- name: Install Poetry
|
|
uses: snok/install-poetry@v1
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
poetry install --with dev,proxy-dev --extras proxy
|
|
poetry run pip install "pytest-retry==1.6.3"
|
|
poetry run pip install pytest-xdist
|
|
- name: Setup litellm-enterprise as local package
|
|
run: |
|
|
cd enterprise
|
|
python -m pip install -e .
|
|
cd ..
|
|
- name: Run tests
|
|
run: |
|
|
poetry run pytest tests/test_litellm -x -vv -n 4
|