Skip to content

Commit

Permalink
build: fix release bug
Browse files Browse the repository at this point in the history
  • Loading branch information
AlmogBaku committed May 9, 2024
1 parent 43aad2a commit 1547ab3
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
if [ -f server/requirements.txt ]; then pip install -r server/requirements.txt; fi
- name: Test with pytest
run: |
pytest --ignore=tests/example.py --doctest-modules --junitxml=junit/test-results.xml
pytest -doctest-modules --junitxml=junit/test-results.xml
version:
runs-on: ubuntu-latest
outputs:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ LLM Playground allows various configuration methods including environment variab
Configure your models using one of the following methods:

1. **Direct Configuration**: Specify models directly in the `models.models` parameter.
2. **API Provider URLs**: Set `models.urls` to fetch models from an LLM-Playground compatible API((need to return an array of Model)[server/src/types.py]).
2. **API Provider URLs**: Set `models.urls` to fetch models from an LLM-Playground compatible API((need to return an array of Model)[server/src/protocol.py]).
3. **OpenAI API URLs**: Set `models.oai_urls` to fetch models from an OpenAI compatible API.

Each model can be configured with a `base_url` if it does not utilize OpenAI or is not fetched from `models.oai_urls`.
Expand Down
2 changes: 1 addition & 1 deletion server/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from openai import AsyncOpenAI

from src.oai_tokens import num_tokens_from_messages
from src.types import Model, CompletionsRequest, ChatCompletionsRequest, Settings
from src.protocol import Model, CompletionsRequest, ChatCompletionsRequest, Settings

models: List[Model] = []
default_client: AsyncOpenAI
Expand Down
File renamed without changes.

0 comments on commit 1547ab3

Please sign in to comment.