thinking-machine 0.1.7__tar.gz → 0.1.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.
Files changed (33) hide show
  1. {thinking_machine-0.1.7/src/thinking_machine.egg-info → thinking_machine-0.1.8}/PKG-INFO +1 -10
  2. {thinking_machine-0.1.7 → thinking_machine-0.1.8}/README.md +0 -9
  3. {thinking_machine-0.1.7 → thinking_machine-0.1.8}/pyproject.toml +2 -1
  4. {thinking_machine-0.1.7 → thinking_machine-0.1.8}/src/thinking_machine/providers/light.py +4 -7
  5. {thinking_machine-0.1.7 → thinking_machine-0.1.8/src/thinking_machine.egg-info}/PKG-INFO +1 -10
  6. {thinking_machine-0.1.7 → thinking_machine-0.1.8}/src/thinking_machine.egg-info/entry_points.txt +1 -0
  7. {thinking_machine-0.1.7 → thinking_machine-0.1.8}/LICENSE +0 -0
  8. {thinking_machine-0.1.7 → thinking_machine-0.1.8}/MANIFEST.in +0 -0
  9. {thinking_machine-0.1.7 → thinking_machine-0.1.8}/setup.cfg +0 -0
  10. {thinking_machine-0.1.7 → thinking_machine-0.1.8}/src/thinking_machine/__init__.py +0 -0
  11. {thinking_machine-0.1.7 → thinking_machine-0.1.8}/src/thinking_machine/cli.py +0 -0
  12. {thinking_machine-0.1.7 → thinking_machine-0.1.8}/src/thinking_machine/config.py +0 -0
  13. {thinking_machine-0.1.7 → thinking_machine-0.1.8}/src/thinking_machine/githf.py +0 -0
  14. {thinking_machine-0.1.7 → thinking_machine-0.1.8}/src/thinking_machine/machina.yaml +0 -0
  15. {thinking_machine-0.1.7 → thinking_machine-0.1.8}/src/thinking_machine/machine.py +0 -0
  16. {thinking_machine-0.1.7 → thinking_machine-0.1.8}/src/thinking_machine/providers/__init__.py +0 -0
  17. {thinking_machine-0.1.7 → thinking_machine-0.1.8}/src/thinking_machine/providers/basta.py +0 -0
  18. {thinking_machine-0.1.7 → thinking_machine-0.1.8}/src/thinking_machine/providers/camelids.py +0 -0
  19. {thinking_machine-0.1.7 → thinking_machine-0.1.8}/src/thinking_machine/providers/castor_pollux.py +0 -0
  20. {thinking_machine-0.1.7 → thinking_machine-0.1.8}/src/thinking_machine/providers/depsek.py +0 -0
  21. {thinking_machine-0.1.7 → thinking_machine-0.1.8}/src/thinking_machine/providers/electroid.py +0 -0
  22. {thinking_machine-0.1.7 → thinking_machine-0.1.8}/src/thinking_machine/providers/openai.py +0 -0
  23. {thinking_machine-0.1.7 → thinking_machine-0.1.8}/src/thinking_machine/providers/qrog.py +0 -0
  24. {thinking_machine-0.1.7 → thinking_machine-0.1.8}/src/thinking_machine/providers/strangelove.py +0 -0
  25. {thinking_machine-0.1.7 → thinking_machine-0.1.8}/src/thinking_machine/utilities.py +0 -0
  26. {thinking_machine-0.1.7 → thinking_machine-0.1.8}/src/thinking_machine.egg-info/SOURCES.txt +0 -0
  27. {thinking_machine-0.1.7 → thinking_machine-0.1.8}/src/thinking_machine.egg-info/dependency_links.txt +0 -0
  28. {thinking_machine-0.1.7 → thinking_machine-0.1.8}/src/thinking_machine.egg-info/requires.txt +0 -0
  29. {thinking_machine-0.1.7 → thinking_machine-0.1.8}/src/thinking_machine.egg-info/top_level.txt +0 -0
  30. {thinking_machine-0.1.7 → thinking_machine-0.1.8}/tests/test_cli.py +0 -0
  31. {thinking_machine-0.1.7 → thinking_machine-0.1.8}/tests/test_e2e.py +0 -0
  32. {thinking_machine-0.1.7 → thinking_machine-0.1.8}/tests/test_llm_soup.py +0 -0
  33. {thinking_machine-0.1.7 → thinking_machine-0.1.8}/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.7
3
+ Version: 0.1.8
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
@@ -42,15 +42,6 @@ Or:
42
42
  ```bash
43
43
  thinking-machine multilogue.txt > response.txt
44
44
  ```
45
- Or:
46
- ```bash
47
- thinking-machine -a multilogue.txt | vim
48
- ```
49
- Or:
50
- ```bash
51
- thinking-machine -a multilogue.txt > tmp && echo tmp > multilogue.txt
52
- ```
53
-
54
45
  Or use it in your Python code:
55
46
  ```Python
56
47
  # Python
@@ -26,15 +26,6 @@ Or:
26
26
  ```bash
27
27
  thinking-machine multilogue.txt > response.txt
28
28
  ```
29
- Or:
30
- ```bash
31
- thinking-machine -a multilogue.txt | vim
32
- ```
33
- Or:
34
- ```bash
35
- thinking-machine -a multilogue.txt > tmp && echo tmp > multilogue.txt
36
- ```
37
-
38
29
  Or use it in your Python code:
39
30
  ```Python
40
31
  # Python
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "thinking-machine"
7
- version = "0.1.7"
7
+ version = "0.1.8"
8
8
  authors = [
9
9
  {name="Machina Ratiocinatrix", email="machina.ratio@gmail.com"},
10
10
  {name="Alexander Fedotov", email="alex.fedotov@aol.com"}
@@ -24,6 +24,7 @@ dependencies = [
24
24
 
25
25
  [project.scripts]
26
26
  thinking-machine = "thinking_machine.cli:run"
27
+ think = "thinking_machine.cli:run"
27
28
 
28
29
  [project.urls]
29
30
  "Homepage" = "https://github.com/machina-ratiocinatrix/thinking-machine"
@@ -14,7 +14,7 @@ from os import environ
14
14
  def respond(messages, instructions, **kwargs):
15
15
  """
16
16
  """
17
- api_key = environ.get("LIGHNING_API_KEY")
17
+ api_key = environ.get("LIGHTNING_API_KEY")
18
18
  api_base = environ.get("LIGHTNING_API_BASE", "https://lightning.ai/api/v1")
19
19
  default_model = environ.get("LIGHTNING_DEFAULT_MODEL", "openai/gpt-5.5-2026-04-23")
20
20
 
@@ -29,12 +29,9 @@ def respond(messages, instructions, **kwargs):
29
29
  payload = {
30
30
  "model": kwargs.get("model", default_model),
31
31
  "messages": instruction_and_contents,
32
- "max_tokens": kwargs.get("max_tokens", 32000),
32
+ "max_completion_tokens": kwargs.get("max_tokens", 32000),
33
33
  "temperature": kwargs.get("temperature", 1.0),
34
- "reasoning_effort": kwargs.get("reasoning_effort", "high"),
35
- "thinking": {
36
- "type": "enabled"
37
- }
34
+ "reasoning_effort": kwargs.get("reasoning_effort", "xhigh"),
38
35
  }
39
36
 
40
37
  # Convert data dictionary to JSON and encode it to bytes
@@ -61,7 +58,7 @@ def respond(messages, instructions, **kwargs):
61
58
  output = json.loads(response_data)
62
59
  message = output['choices'][0]['message']
63
60
  text = message['content']
64
- thoughts = message['reasoning_content']
61
+ thoughts = message.get('reasoning_content', '')
65
62
 
66
63
  return thoughts, text
67
64
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: thinking-machine
3
- Version: 0.1.7
3
+ Version: 0.1.8
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
@@ -42,15 +42,6 @@ Or:
42
42
  ```bash
43
43
  thinking-machine multilogue.txt > response.txt
44
44
  ```
45
- Or:
46
- ```bash
47
- thinking-machine -a multilogue.txt | vim
48
- ```
49
- Or:
50
- ```bash
51
- thinking-machine -a multilogue.txt > tmp && echo tmp > multilogue.txt
52
- ```
53
-
54
45
  Or use it in your Python code:
55
46
  ```Python
56
47
  # Python
@@ -1,2 +1,3 @@
1
1
  [console_scripts]
2
+ think = thinking_machine.cli:run
2
3
  thinking-machine = thinking_machine.cli:run