mirror of
https://github.com/anomalyco/opencode-sdk-python.git
synced 2026-08-31 02:04:19 +00:00
feat(api): update via SDK Studio
This commit is contained in:
parent
ddb79fc19d
commit
a6cf7c5b2a
109 changed files with 159 additions and 153 deletions
|
|
@ -10,15 +10,15 @@ import httpx
|
|||
import pytest
|
||||
from pytest_asyncio import is_async_test
|
||||
|
||||
from opencode import Opencode, AsyncOpencode, DefaultAioHttpClient
|
||||
from opencode._utils import is_dict
|
||||
from opencode_ai import Opencode, AsyncOpencode, DefaultAioHttpClient
|
||||
from opencode_ai._utils import is_dict
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from _pytest.fixtures import FixtureRequest # pyright: ignore[reportPrivateImportUsage]
|
||||
|
||||
pytest.register_assert_rewrite("tests.utils")
|
||||
|
||||
logging.getLogger("opencode").setLevel(logging.DEBUG)
|
||||
logging.getLogger("opencode_ai").setLevel(logging.DEBUG)
|
||||
|
||||
|
||||
# automatically add `pytest.mark.asyncio()` to all of our async tests
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue