feat: list available embedding/LLM models for ollama (#1840)
This commit is contained in:
7
.github/workflows/test_ollama.yml
vendored
7
.github/workflows/test_ollama.yml
vendored
@@ -1,5 +1,8 @@
|
||||
name: Endpoint (Ollama)
|
||||
|
||||
env:
|
||||
OLLAMA_BASE_URL: "http://localhost:11434"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
@@ -36,3 +39,7 @@ jobs:
|
||||
- name: Test embedding endpoint
|
||||
run: |
|
||||
poetry run pytest -s -vv tests/test_endpoints.py::test_embedding_endpoint_ollama
|
||||
|
||||
- name: Test provider
|
||||
run: |
|
||||
poetry run pytest -s -vv tests/test_providers.py::test_ollama
|
||||
|
||||
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@@ -69,4 +69,4 @@ jobs:
|
||||
LETTA_SERVER_PASS: test_server_token
|
||||
PYTHONPATH: ${{ github.workspace }}:${{ env.PYTHONPATH }}
|
||||
run: |
|
||||
poetry run pytest -s -vv -k "not test_tools.py and not test_concurrent_connections.py and not test_quickstart and not test_endpoints and not test_storage and not test_server and not test_openai_client" tests
|
||||
poetry run pytest -s -vv -k "not test_tools.py and not test_concurrent_connections.py and not test_quickstart and not test_endpoints and not test_storage and not test_server and not test_openai_client and not test_providers" tests
|
||||
|
||||
Reference in New Issue
Block a user