machine-thinking 0.0.7__tar.gz → 0.0.8__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.
- {machine_thinking-0.0.7 → machine_thinking-0.0.8}/PKG-INFO +1 -1
- {machine_thinking-0.0.7 → machine_thinking-0.0.8}/pyproject.toml +1 -1
- {machine_thinking-0.0.7 → machine_thinking-0.0.8}/src/machine_thinking/messages.py +1 -0
- {machine_thinking-0.0.7 → machine_thinking-0.0.8}/src/machine_thinking/utils.py +4 -5
- {machine_thinking-0.0.7 → machine_thinking-0.0.8}/src/machine_thinking.egg-info/PKG-INFO +1 -1
- {machine_thinking-0.0.7 → machine_thinking-0.0.8}/LICENSE +0 -0
- {machine_thinking-0.0.7 → machine_thinking-0.0.8}/README.md +0 -0
- {machine_thinking-0.0.7 → machine_thinking-0.0.8}/setup.cfg +0 -0
- {machine_thinking-0.0.7 → machine_thinking-0.0.8}/src/__init__.py +0 -0
- {machine_thinking-0.0.7 → machine_thinking-0.0.8}/src/machine_thinking/__init__.py +0 -0
- {machine_thinking-0.0.7 → machine_thinking-0.0.8}/src/machine_thinking/chat.py +0 -0
- {machine_thinking-0.0.7 → machine_thinking-0.0.8}/src/machine_thinking/completion.py +0 -0
- {machine_thinking-0.0.7 → machine_thinking-0.0.8}/src/machine_thinking.egg-info/SOURCES.txt +0 -0
- {machine_thinking-0.0.7 → machine_thinking-0.0.8}/src/machine_thinking.egg-info/dependency_links.txt +0 -0
- {machine_thinking-0.0.7 → machine_thinking-0.0.8}/src/machine_thinking.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: machine-thinking
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.8
|
|
4
4
|
Summary: Calling the API of 'Thinking-Machines Lab' models without dependencies.
|
|
5
5
|
Author-email: Machina Ratiocinatrix <machina.ratio@gmail.com>, Alexander Fedotov <alex.fedotov@aol.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/machina-ratiocinatrix/machine-thinking
|
|
@@ -3,7 +3,7 @@ requires = ["setuptools>=67.0"]
|
|
|
3
3
|
build-backend = "setuptools.build_meta"
|
|
4
4
|
[project]
|
|
5
5
|
name = "machine-thinking"
|
|
6
|
-
version = "0.0.
|
|
6
|
+
version = "0.0.8"
|
|
7
7
|
authors = [
|
|
8
8
|
{name="Machina Ratiocinatrix", email="machina.ratio@gmail.com"},
|
|
9
9
|
{name="Alexander Fedotov", email="alex.fedotov@aol.com"}
|
|
@@ -41,13 +41,12 @@ def get_function(func_name):
|
|
|
41
41
|
return func
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
def get_func_args(
|
|
44
|
+
def get_func_args(func_args_def):
|
|
45
45
|
try:
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
func_args = json.loads(func_args_str)
|
|
46
|
+
if isinstance(func_args_def, str):
|
|
47
|
+
func_args = json.loads(func_args_def)
|
|
49
48
|
else:
|
|
50
|
-
func_args =
|
|
49
|
+
func_args = func_args_def
|
|
51
50
|
except Exception as e:
|
|
52
51
|
func_args = {}
|
|
53
52
|
print(f"Error parsing tool arguments: {e}")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: machine-thinking
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.8
|
|
4
4
|
Summary: Calling the API of 'Thinking-Machines Lab' models without dependencies.
|
|
5
5
|
Author-email: Machina Ratiocinatrix <machina.ratio@gmail.com>, Alexander Fedotov <alex.fedotov@aol.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/machina-ratiocinatrix/machine-thinking
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{machine_thinking-0.0.7 → machine_thinking-0.0.8}/src/machine_thinking.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{machine_thinking-0.0.7 → machine_thinking-0.0.8}/src/machine_thinking.egg-info/top_level.txt
RENAMED
|
File without changes
|