fabricatio 0.16.2__cp313-cp313-macosx_11_0_arm64.whl → 0.17.1__cp313-cp313-macosx_11_0_arm64.whl

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.
@@ -91,7 +91,13 @@ if find_spec("fabricatio_translate"):
91
91
  from fabricatio_locale.capabilities.localize import Localize
92
92
 
93
93
  __all__ += ["Localize"]
94
+
94
95
  if find_spec("fabricatio_diff"):
95
96
  from fabricatio_diff.capabilities.diff_edit import DiffEdit
96
97
 
97
98
  __all__ += ["DiffEdit"]
99
+
100
+ if find_spec("fabricatio_thinking"):
101
+ from fabricatio_thinking.capabilities.thinking import Thinking
102
+
103
+ __all__ += ["Thinking"]
@@ -60,3 +60,9 @@ if find_spec("fabricatio_diff"):
60
60
  from fabricatio_diff.models.diff import Diff
61
61
 
62
62
  __all__ += ["Diff"]
63
+
64
+
65
+ if find_spec("fabricatio_thinking"):
66
+ from fabricatio_thinking.models.thinking import Thought
67
+
68
+ __all__ += ["Thought"]
Binary file
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fabricatio
3
- Version: 0.16.2
3
+ Version: 0.17.1
4
4
  Classifier: License :: OSI Approved :: MIT License
5
5
  Classifier: Programming Language :: Rust
6
6
  Classifier: Programming Language :: Python :: 3.12
@@ -10,7 +10,7 @@ Classifier: Framework :: AsyncIO
10
10
  Classifier: Framework :: Pydantic :: 2
11
11
  Classifier: Typing :: Typed
12
12
  Requires-Dist: fabricatio-core
13
- Requires-Dist: fabricatio[rag,cli,typst,rule,judge,capabilities,actions,improve,digest,memory,anki,question,tagging,improve,rag,yue,tool,plot,translate,locale,diff] ; extra == 'full'
13
+ Requires-Dist: fabricatio[rag,cli,typst,rule,judge,capabilities,actions,improve,digest,memory,anki,question,tagging,improve,rag,yue,tool,plot,translate,locale,diff,thinking] ; extra == 'full'
14
14
  Requires-Dist: fabricatio-anki ; extra == 'anki'
15
15
  Requires-Dist: fabricatio-memory ; extra == 'memory'
16
16
  Requires-Dist: fabricatio-digest ; extra == 'digest'
@@ -30,6 +30,7 @@ Requires-Dist: fabricatio-plot ; extra == 'plot'
30
30
  Requires-Dist: fabricatio-translate ; extra == 'translate'
31
31
  Requires-Dist: fabricatio-locale ; extra == 'locale'
32
32
  Requires-Dist: fabricatio-diff ; extra == 'diff'
33
+ Requires-Dist: fabricatio-thinking ; extra == 'thinking'
33
34
  Provides-Extra: full
34
35
  Provides-Extra: anki
35
36
  Provides-Extra: memory
@@ -50,6 +51,7 @@ Provides-Extra: plot
50
51
  Provides-Extra: translate
51
52
  Provides-Extra: locale
52
53
  Provides-Extra: diff
54
+ Provides-Extra: thinking
53
55
  License-File: LICENSE
54
56
  Summary: A LLM multi-agent framework.
55
57
  Keywords: ai,agents,multi-agent,llm,pyo3
@@ -214,28 +216,26 @@ _(For full example details, please check our detailed documentation, see [Exampl
214
216
  ## Configuration
215
217
 
216
218
  Fabricatio supports flexible configuration through multiple sources, with the following priority order:
217
- `./.env` > `Environment Variables` > `./fabricatio.toml` > `./pyproject.toml` > `<ROMANING>/fabricatio/fabricatio.toml` > `Defaults`.
219
+ `Call Arguments` > `./.env` > `Environment Variables` > `./fabricatio.toml` > `./pyproject.toml` > `<ROMANING>/fabricatio/fabricatio.toml` > `Builtin Defaults`.
218
220
 
219
221
  Below is a unified view of the same configuration expressed in different formats:
220
222
 
221
- ### Format Examples: Unified Configuration Representation
222
-
223
- #### Environment variables or dotenv file
223
+ ### Environment variables or dotenv file
224
224
  ```dotenv
225
- FABRIK_LLM__API_ENDPOINT=https://api.openai.com
226
- FABRIK_LLM__API_KEY=your_openai_api_key
227
- FABRIK_LLM__TIMEOUT=300
228
- FABRIK_LLM__MAX_RETRIES=3
229
- FABRIK_LLM__MODEL=openai/gpt-3.5-turbo
230
- FABRIK_LLM__TEMPERATURE=1.0
231
- FABRIK_LLM__TOP_P=0.35
232
- FABRIK_LLM__GENERATION_COUNT=1
233
- FABRIK_LLM__STREAM=false
234
- FABRIK_LLM__MAX_TOKENS=8192
235
- FABRIK_DEBUG__LOG_LEVEL=INFO
225
+ FABRICATIO_LLM__API_ENDPOINT=https://api.openai.com
226
+ FABRICATIO_LLM__API_KEY=your_openai_api_key
227
+ FABRICATIO_LLM__TIMEOUT=300
228
+ FABRICATIO_LLM__MAX_RETRIES=3
229
+ FABRICATIO_LLM__MODEL=openai/gpt-3.5-turbo
230
+ FABRICATIO_LLM__TEMPERATURE=1.0
231
+ FABRICATIO_LLM__TOP_P=0.35
232
+ FABRICATIO_LLM__GENERATION_COUNT=1
233
+ FABRICATIO_LLM__STREAM=false
234
+ FABRICATIO_LLM__MAX_TOKENS=8192
235
+ FABRICATIO_DEBUG__LOG_LEVEL=INFO
236
236
  ```
237
237
 
238
- #### `fabricatio.toml` file
238
+ ### `fabricatio.toml` file
239
239
  ```toml
240
240
  [llm]
241
241
  api_endpoint = "https://api.openai.com"
@@ -253,7 +253,7 @@ max_tokens = 8192
253
253
  log_level = "INFO"
254
254
  ```
255
255
 
256
- #### `pyproject.toml` file
256
+ ### `pyproject.toml` file
257
257
  ```toml
258
258
  [tool.fabricatio.llm]
259
259
  api_endpoint = "https://api.openai.com"
@@ -271,37 +271,9 @@ max_tokens = 8192
271
271
  log_level = "INFO"
272
272
  ```
273
273
 
274
- ## Development Setup
275
-
276
- 1. **Clone the Repository**:
277
- ```bash
278
- git clone https://github.com/Whth/fabricatio.git
279
- cd fabricatio
280
- ```
281
- 2. **Install Dependencies**:
282
- ```bash
283
- make init
284
- ```
285
-
286
- 3. **Build the Package**:
287
- ```bash
288
- make dev
289
- ```
290
- 4. **Run Tests**:
291
- ```bash
292
- make tests
293
- ```
294
-
295
274
  ## Contributing
296
275
 
297
- Contributions are welcome! Follow these steps:
298
-
299
- 1. Fork the repository.
300
- 2. Create your feature branch (`git checkout -b feat/new-feature`).
301
- 3. [Optional]Create a py/rs subpackage with `make rs` or `make py`
302
- 4. Commit your changes (`git commit -am 'Add new feature'`).
303
- 5. Push to the branch (`git push origin feat/new-feature`).
304
- 6. Create a new Pull Request.
276
+ We welcome contributions from everyone! Before contributing, please read our [Contributing Guide](CONTRIBUTING.md) and [Code of Conduct](CODE_OF_CONDUCT.md).
305
277
 
306
278
  ## License
307
279
 
@@ -0,0 +1,12 @@
1
+ fabricatio-0.17.1.data/scripts/tdown,sha256=mcIFLToVOrFqP04GlVnrbCymJPOZX8ukHZiNTIe0u90,4387536
2
+ fabricatio-0.17.1.dist-info/METADATA,sha256=dE66xW1imzsLj_WgqNGTQEWr0Nfv7ySUfkDou1l4HGs,9252
3
+ fabricatio-0.17.1.dist-info/WHEEL,sha256=ZlnHGE4Mo7ps1v16zvcAfrDnL3ds3Klm21sZZ52w3vY,104
4
+ fabricatio-0.17.1.dist-info/licenses/LICENSE,sha256=yDZaTLnOi03bi3Dk6f5IjhLUc5old2yOsihHWU0z-i0,1067
5
+ fabricatio/__init__.py,sha256=4a_7gabZhl9dzonBxcF-8peCGTLNxYJSDfInf1VhRsY,568
6
+ fabricatio/actions/__init__.py,sha256=i2aGE3ZtNV2CTcYCAydlAKZq5fcQBRKlR3IL39weLEI,2243
7
+ fabricatio/capabilities/__init__.py,sha256=_8o5ikdOnqRFw7B4qIf57OG5C29YsoBeep8eL3fhcmw,3396
8
+ fabricatio/models/__init__.py,sha256=YG5rqio1YGHAOoiBIXKyj5XWqVQtEzcOKTlZB28IJ-4,1837
9
+ fabricatio/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
+ fabricatio/rust.cpython-313-darwin.so,sha256=OfOiq0WgQb0rVHJWdUgAHkYpDSPfQzRIT9wEmgzBTBs,454640
11
+ fabricatio/workflows/__init__.py,sha256=sr-0tgpNPdN5t2pDQa-gp-KUE7K0QDtjP9QGvWYLZ9A,305
12
+ fabricatio-0.17.1.dist-info/RECORD,,
Binary file
@@ -1,12 +0,0 @@
1
- fabricatio-0.16.2.data/scripts/tdown,sha256=BrF9WWDEms6aN8i_xrm8ENC0Wc9FXexg4EsCp95rsls,4389728
2
- fabricatio-0.16.2.dist-info/METADATA,sha256=AwRYqLkoZT-zw4FCNRHge5Sh2ZlYwvlyrjjNEiAV2uc,9665
3
- fabricatio-0.16.2.dist-info/WHEEL,sha256=ZlnHGE4Mo7ps1v16zvcAfrDnL3ds3Klm21sZZ52w3vY,104
4
- fabricatio-0.16.2.dist-info/licenses/LICENSE,sha256=yDZaTLnOi03bi3Dk6f5IjhLUc5old2yOsihHWU0z-i0,1067
5
- fabricatio/__init__.py,sha256=4a_7gabZhl9dzonBxcF-8peCGTLNxYJSDfInf1VhRsY,568
6
- fabricatio/actions/__init__.py,sha256=i2aGE3ZtNV2CTcYCAydlAKZq5fcQBRKlR3IL39weLEI,2243
7
- fabricatio/capabilities/__init__.py,sha256=77Rvy8Ftt_znN9BSDw0fLk3BP73N0YAo97yGQMlfYLA,3261
8
- fabricatio/models/__init__.py,sha256=G97zGeF6NpxTjflvRt_v7NRxGYiepu_iLZNd-mCTzRI,1710
9
- fabricatio/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
- fabricatio/rust.cpython-313-darwin.so,sha256=bckw5Ua7YimavQkRRHoImtWb0X1BBACARLLJkNEQRJU,454640
11
- fabricatio/workflows/__init__.py,sha256=sr-0tgpNPdN5t2pDQa-gp-KUE7K0QDtjP9QGvWYLZ9A,305
12
- fabricatio-0.16.2.dist-info/RECORD,,