File tree Expand file tree Collapse file tree 6 files changed +5
-93
lines changed
src/unstract/llmwhisperer Expand file tree Collapse file tree 6 files changed +5
-93
lines changed Original file line number Diff line number Diff line change 3535 - name : Create test env
3636 shell : bash
3737 run : |
38- cp tests/ sample.env tests/ .env
39- sed -i "s|LLMWHISPERER_API_KEY=|LLMWHISPERER_API_KEY=${{ secrets.LLMWHISPERER_API_KEY }}|" tests/ .env
38+ cp sample.env .env
39+ sed -i "s|LLMWHISPERER_API_KEY=|LLMWHISPERER_API_KEY=${{ secrets.LLMWHISPERER_API_KEY }}|" .env
4040
4141 - name : Run tox
4242 id : tox
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ includes = ["src"]
6969package-dir = " src"
7070
7171[tool .pytest .ini_options ]
72- env_files = [" tests/ .env" ]
72+ env_files = [" .env" ]
7373addopts = " -s"
7474log_level = " INFO"
7575log_cli = true
File renamed without changes.
Original file line number Diff line number Diff line change 11__version__ = "0.22.0"
22
33from .client import LLMWhispererClient # noqa: F401
4+ from .client_v2 import LLMWhispererClientV2 # noqa: F401
45
56
6- def get_sdk_version ():
7+ def get_llmw_py_client_version ():
78 """Returns the SDK version."""
89 return __version__
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11import os
22
33import pytest
4- from dotenv import load_dotenv
54
65from unstract .llmwhisperer .client import LLMWhispererClient
76from unstract .llmwhisperer .client_v2 import LLMWhispererClientV2
87
9- load_dotenv ()
10-
118
129@pytest .fixture (name = "client" )
1310def llm_whisperer_client ():
You can’t perform that action at this time.
0 commit comments