cycls 0.0.2.11__tar.gz → 0.0.2.12__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {cycls-0.0.2.11 → cycls-0.0.2.12}/PKG-INFO +1 -1
- {cycls-0.0.2.11 → cycls-0.0.2.12}/cycls/cycls.py +5 -3
- {cycls-0.0.2.11 → cycls-0.0.2.12}/pyproject.toml +1 -1
- {cycls-0.0.2.11 → cycls-0.0.2.12}/README.md +0 -0
- {cycls-0.0.2.11 → cycls-0.0.2.12}/cycls/__init__.py +0 -0
- {cycls-0.0.2.11 → cycls-0.0.2.12}/cycls/key.pub +0 -0
|
@@ -14,11 +14,13 @@ current_dir = os.path.dirname(os.path.abspath(__file__))
|
|
|
14
14
|
key_path = os.path.join(current_dir, 'key.pub')
|
|
15
15
|
# print(key_path)
|
|
16
16
|
|
|
17
|
-
from typing import List, Dict
|
|
17
|
+
from typing import List, Dict, Optional
|
|
18
18
|
class Message(BaseModel):
|
|
19
19
|
handle: str
|
|
20
20
|
content: str
|
|
21
|
-
history: List[Dict[str, str]] = []
|
|
21
|
+
# history: List[Dict[str, str]] = []
|
|
22
|
+
history: Optional[List[Dict[str, str]]] = None
|
|
23
|
+
|
|
22
24
|
|
|
23
25
|
def find_available_port(start_port):
|
|
24
26
|
port = start_port
|
|
@@ -111,4 +113,4 @@ class Cycls:
|
|
|
111
113
|
|
|
112
114
|
Text = StreamingResponse
|
|
113
115
|
|
|
114
|
-
#
|
|
116
|
+
# ç
|
|
File without changes
|
|
File without changes
|
|
File without changes
|