thinking-machine 0.1.20__tar.gz → 0.1.22__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.
- {thinking_machine-0.1.20/src/thinking_machine.egg-info → thinking_machine-0.1.22}/PKG-INFO +1 -1
- {thinking_machine-0.1.20 → thinking_machine-0.1.22}/pyproject.toml +1 -1
- {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/machine.py +3 -3
- {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/providers/tink.py +1 -1
- {thinking_machine-0.1.20 → thinking_machine-0.1.22/src/thinking_machine.egg-info}/PKG-INFO +1 -1
- {thinking_machine-0.1.20 → thinking_machine-0.1.22}/LICENSE +0 -0
- {thinking_machine-0.1.20 → thinking_machine-0.1.22}/MANIFEST.in +0 -0
- {thinking_machine-0.1.20 → thinking_machine-0.1.22}/README.md +0 -0
- {thinking_machine-0.1.20 → thinking_machine-0.1.22}/setup.cfg +0 -0
- {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/__init__.py +0 -0
- {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/cli.py +0 -0
- {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/config.py +0 -0
- {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/githf.py +0 -0
- {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/machina.yaml +0 -0
- {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/providers/__init__.py +0 -0
- {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/providers/basta.py +0 -0
- {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/providers/camelids.py +0 -0
- {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/providers/castor_pollux.py +0 -0
- {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/providers/chinf.py +0 -0
- {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/providers/depsek.py +0 -0
- {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/providers/electroid.py +0 -0
- {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/providers/illuminati.py +0 -0
- {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/providers/light.py +0 -0
- {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/providers/openai.py +0 -0
- {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/providers/qrog.py +0 -0
- {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/providers/strangelove.py +0 -0
- {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/utilities.py +0 -0
- {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine.egg-info/SOURCES.txt +0 -0
- {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine.egg-info/dependency_links.txt +0 -0
- {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine.egg-info/entry_points.txt +0 -0
- {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine.egg-info/requires.txt +0 -0
- {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine.egg-info/top_level.txt +0 -0
- {thinking_machine-0.1.20 → thinking_machine-0.1.22}/tests/test_cli.py +0 -0
- {thinking_machine-0.1.20 → thinking_machine-0.1.22}/tests/test_e2e.py +0 -0
- {thinking_machine-0.1.20 → thinking_machine-0.1.22}/tests/test_llm_soup.py +0 -0
- {thinking_machine-0.1.20 → thinking_machine-0.1.22}/tests/test_utilities.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: thinking-machine
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.22
|
|
4
4
|
Summary: A Machine that thinks.
|
|
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/thinking-machine
|
|
@@ -51,14 +51,14 @@ def machine(plato_text, config, **kwargs):
|
|
|
51
51
|
|
|
52
52
|
elif provider == 'Tinker':
|
|
53
53
|
# Transform plato_text to MUJ format
|
|
54
|
-
messages =
|
|
54
|
+
messages = plato_text_to_cmj(plato_text=plato_text,
|
|
55
55
|
machine_name=name)
|
|
56
56
|
# Call OpenAI API
|
|
57
57
|
environ['TINKER_API_KEY'] = api_key
|
|
58
58
|
try:
|
|
59
59
|
from .providers import tink
|
|
60
60
|
except ImportError:
|
|
61
|
-
print("
|
|
61
|
+
print("tinker module is missing.", file=sys.stderr)
|
|
62
62
|
sys.exit(1)
|
|
63
63
|
|
|
64
64
|
thoughts, text = tink.respond(
|
|
@@ -72,7 +72,7 @@ def machine(plato_text, config, **kwargs):
|
|
|
72
72
|
|
|
73
73
|
elif provider == 'Chinf':
|
|
74
74
|
# Transform plato_text to MUJ format
|
|
75
|
-
messages =
|
|
75
|
+
messages = plato_text_to_cmj(plato_text=plato_text,
|
|
76
76
|
machine_name=name)
|
|
77
77
|
# Call OpenAI API via opehaina
|
|
78
78
|
environ['CHINF_API_KEY'] = api_key
|
|
@@ -40,7 +40,7 @@ def respond(messages=None, instructions=None, **kwargs):
|
|
|
40
40
|
'messages': instruction_and_contents,
|
|
41
41
|
# 'response_format': kwargs.get('response_format',{'type': 'text'}),
|
|
42
42
|
'temperature': kwargs.get('temperature', 1.0), # 0.0 to 2.0
|
|
43
|
-
'max_tokens': kwargs.get('max_tokens',
|
|
43
|
+
'max_tokens': kwargs.get('max_tokens', 64000),
|
|
44
44
|
'top_p': kwargs.get('top_p', 0.9),
|
|
45
45
|
'separate_reasoning': True,
|
|
46
46
|
'reasoning_effort': kwargs.get('reasoning_effort', 'high'), # 'low', 'medium', 'high'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: thinking-machine
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.22
|
|
4
4
|
Summary: A Machine that thinks.
|
|
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/thinking-machine
|
|
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
|
{thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/providers/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/providers/camelids.py
RENAMED
|
File without changes
|
{thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/providers/castor_pollux.py
RENAMED
|
File without changes
|
|
File without changes
|
{thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/providers/depsek.py
RENAMED
|
File without changes
|
{thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/providers/electroid.py
RENAMED
|
File without changes
|
{thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/providers/illuminati.py
RENAMED
|
File without changes
|
|
File without changes
|
{thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/providers/openai.py
RENAMED
|
File without changes
|
|
File without changes
|
{thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/providers/strangelove.py
RENAMED
|
File without changes
|
|
File without changes
|
{thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine.egg-info/entry_points.txt
RENAMED
|
File without changes
|
{thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine.egg-info/requires.txt
RENAMED
|
File without changes
|
{thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|