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.
Files changed (36) hide show
  1. {thinking_machine-0.1.20/src/thinking_machine.egg-info → thinking_machine-0.1.22}/PKG-INFO +1 -1
  2. {thinking_machine-0.1.20 → thinking_machine-0.1.22}/pyproject.toml +1 -1
  3. {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/machine.py +3 -3
  4. {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/providers/tink.py +1 -1
  5. {thinking_machine-0.1.20 → thinking_machine-0.1.22/src/thinking_machine.egg-info}/PKG-INFO +1 -1
  6. {thinking_machine-0.1.20 → thinking_machine-0.1.22}/LICENSE +0 -0
  7. {thinking_machine-0.1.20 → thinking_machine-0.1.22}/MANIFEST.in +0 -0
  8. {thinking_machine-0.1.20 → thinking_machine-0.1.22}/README.md +0 -0
  9. {thinking_machine-0.1.20 → thinking_machine-0.1.22}/setup.cfg +0 -0
  10. {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/__init__.py +0 -0
  11. {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/cli.py +0 -0
  12. {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/config.py +0 -0
  13. {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/githf.py +0 -0
  14. {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/machina.yaml +0 -0
  15. {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/providers/__init__.py +0 -0
  16. {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/providers/basta.py +0 -0
  17. {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/providers/camelids.py +0 -0
  18. {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/providers/castor_pollux.py +0 -0
  19. {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/providers/chinf.py +0 -0
  20. {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/providers/depsek.py +0 -0
  21. {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/providers/electroid.py +0 -0
  22. {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/providers/illuminati.py +0 -0
  23. {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/providers/light.py +0 -0
  24. {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/providers/openai.py +0 -0
  25. {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/providers/qrog.py +0 -0
  26. {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/providers/strangelove.py +0 -0
  27. {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine/utilities.py +0 -0
  28. {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine.egg-info/SOURCES.txt +0 -0
  29. {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine.egg-info/dependency_links.txt +0 -0
  30. {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine.egg-info/entry_points.txt +0 -0
  31. {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine.egg-info/requires.txt +0 -0
  32. {thinking_machine-0.1.20 → thinking_machine-0.1.22}/src/thinking_machine.egg-info/top_level.txt +0 -0
  33. {thinking_machine-0.1.20 → thinking_machine-0.1.22}/tests/test_cli.py +0 -0
  34. {thinking_machine-0.1.20 → thinking_machine-0.1.22}/tests/test_e2e.py +0 -0
  35. {thinking_machine-0.1.20 → thinking_machine-0.1.22}/tests/test_llm_soup.py +0 -0
  36. {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.20
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
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "thinking-machine"
7
- version = "0.1.20"
7
+ version = "0.1.22"
8
8
  authors = [
9
9
  {name="Machina Ratiocinatrix", email="machina.ratio@gmail.com"},
10
10
  {name="Alexander Fedotov", email="alex.fedotov@aol.com"}
@@ -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 = plato_text_to_muj(plato_text=plato_text,
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("openai module is missing.", file=sys.stderr)
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 = plato_text_to_muj(plato_text=plato_text,
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', 4096),
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.20
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