Skip to content

Commit b5fc6a8

Browse files
committed
mued api chat function types autogenerated
1 parent fa050db commit b5fc6a8

File tree

7 files changed

+1426
-266
lines changed

7 files changed

+1426
-266
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,3 +158,5 @@ cython_debug/
158158
# and can be added to the global gitignore or merged into this file. For a more nuclear
159159
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
160160
#.idea/
161+
162+
.DS_Store

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,6 @@ clean: clean_build
2020

2121
fresh: clean
2222
rm -rf .venv/
23+
24+
generate-mued-types:
25+
MUED_SPEC_VERSION=$(MUED_SPEC_VERSION) MUED_SPEC_URL=$(MUED_SPEC_URL) poetry run python scripts/generate_mued_types.py

lf_toolkit/chat/__init__.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
1+
from ..shared.mued_api_v0_1_0 import ChatRequest
2+
from ..shared.mued_api_v0_1_0 import ChatResponse
13
from .params import ChatParams
2-
from .result import ChatResult
4+
from .result import ChatResult
5+
6+
__all__ = ["ChatRequest", "ChatResponse", "ChatParams", "ChatResult"]

0 commit comments

Comments
 (0)