maitai-python 1.1.9b0__tar.gz → 1.1.9b1__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.
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/PKG-INFO +1 -1
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai/tools/__init__.py +2 -2
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai_common/version.py +1 -1
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai_gen/chat/__init__.py +11 -1
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai_python.egg-info/PKG-INFO +1 -1
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/README.md +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai/__init__.py +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai/_azure.py +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai/_config.py +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai/_config_listener_thread.py +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai/_context.py +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai/_evaluator.py +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai/_inference.py +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai/_maitai.py +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai/_maitai_async.py +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai/_maitai_client.py +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai/_types.py +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai/_utils.py +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai_common/__init__.py +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai_common/config/__init__.py +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai_common/config/config_service.py +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai_common/processes/__init__.py +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai_common/processes/io_thread.py +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai_common/processes/websocket_listener_thread.py +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai_common/utils/__init__.py +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai_common/utils/proto_utils.py +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai_common/utils/types.py +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai_gen/__init__.py +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai_gen/application/__init__.py +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai_gen/backtest/__init__.py +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai_gen/company/__init__.py +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai_gen/config/__init__.py +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai_gen/embedding/__init__.py +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai_gen/event/__init__.py +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai_gen/inference/__init__.py +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai_gen/key/__init__.py +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai_gen/metric/__init__.py +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai_gen/model/__init__.py +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai_gen/notification/__init__.py +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai_gen/sandbox/__init__.py +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai_gen/sentinel/__init__.py +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai_gen/session/__init__.py +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai_python.egg-info/SOURCES.txt +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai_python.egg-info/dependency_links.txt +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai_python.egg-info/requires.txt +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai_python.egg-info/top_level.txt +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/setup.cfg +0 -0
- {maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/setup.py +0 -0
|
@@ -64,8 +64,7 @@ def tool(func=None, strict=True):
|
|
|
64
64
|
"type": _parse_type(param_type),
|
|
65
65
|
"description": param_descriptions.get(param_name, ""),
|
|
66
66
|
}
|
|
67
|
-
|
|
68
|
-
required.append(param_name)
|
|
67
|
+
required.append(param_name)
|
|
69
68
|
|
|
70
69
|
wrapper.__tool__ = Tool(
|
|
71
70
|
type="function",
|
|
@@ -77,6 +76,7 @@ def tool(func=None, strict=True):
|
|
|
77
76
|
"type": "object",
|
|
78
77
|
"properties": properties,
|
|
79
78
|
"required": required,
|
|
79
|
+
"additionalProperties": False,
|
|
80
80
|
},
|
|
81
81
|
)
|
|
82
82
|
)
|
|
@@ -219,6 +219,7 @@ class ChatCompletionMessage(betterproto.Message):
|
|
|
219
219
|
3, optional=True, group="_function_call"
|
|
220
220
|
)
|
|
221
221
|
tool_calls: List["ToolCall"] = betterproto.message_field(4)
|
|
222
|
+
refusal: str = betterproto.string_field(5)
|
|
222
223
|
|
|
223
224
|
|
|
224
225
|
@dataclass(eq=False, repr=False)
|
|
@@ -265,6 +266,7 @@ class ChoiceDelta(betterproto.Message):
|
|
|
265
266
|
role: str = betterproto.string_field(2)
|
|
266
267
|
tool_calls: List["ToolCall"] = betterproto.message_field(3)
|
|
267
268
|
function_call: "FunctionCall" = betterproto.message_field(4)
|
|
269
|
+
refusal: str = betterproto.string_field(6)
|
|
268
270
|
|
|
269
271
|
|
|
270
272
|
@dataclass(eq=False, repr=False)
|
|
@@ -284,6 +286,7 @@ class ToolCallFunction(betterproto.Message):
|
|
|
284
286
|
@dataclass(eq=False, repr=False)
|
|
285
287
|
class LogProbs(betterproto.Message):
|
|
286
288
|
content: List["LogPropsContent"] = betterproto.message_field(1)
|
|
289
|
+
refusal: List["LogPropsContent"] = betterproto.message_field(2)
|
|
287
290
|
|
|
288
291
|
|
|
289
292
|
@dataclass(eq=False, repr=False)
|
|
@@ -291,7 +294,14 @@ class LogPropsContent(betterproto.Message):
|
|
|
291
294
|
token: str = betterproto.string_field(1)
|
|
292
295
|
logprob: float = betterproto.double_field(2)
|
|
293
296
|
bytes: List[int] = betterproto.int32_field(3)
|
|
294
|
-
top_logprobs: List["
|
|
297
|
+
top_logprobs: List["TopLogProbs"] = betterproto.message_field(4)
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
@dataclass(eq=False, repr=False)
|
|
301
|
+
class TopLogProbs(betterproto.Message):
|
|
302
|
+
token: str = betterproto.string_field(1)
|
|
303
|
+
logprob: float = betterproto.double_field(2)
|
|
304
|
+
bytes: List[float] = betterproto.double_field(3)
|
|
295
305
|
|
|
296
306
|
|
|
297
307
|
@dataclass(eq=False, repr=False)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{maitai_python-1.1.9b0 → maitai_python-1.1.9b1}/maitai_common/processes/websocket_listener_thread.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|