quantalogic 0.30.8__py3-none-any.whl → 0.31.1__py3-none-any.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.
- quantalogic/__init__.py +15 -5
- quantalogic/agent.py +79 -29
- quantalogic/agent_config.py +10 -0
- quantalogic/agent_factory.py +66 -11
- quantalogic/config.py +15 -0
- quantalogic/generative_model.py +17 -98
- quantalogic/get_model_info.py +28 -0
- quantalogic/interactive_text_editor.py +276 -102
- quantalogic/llm.py +135 -0
- quantalogic/main.py +60 -11
- quantalogic/prompts.py +66 -41
- quantalogic/task_runner.py +26 -39
- quantalogic/tool_manager.py +66 -0
- quantalogic/tools/execute_bash_command_tool.py +13 -11
- quantalogic/tools/replace_in_file_tool.py +1 -1
- quantalogic/tools/search_definition_names.py +2 -0
- quantalogic/tools/sql_query_tool.py +4 -2
- quantalogic/utils/get_all_models.py +20 -0
- quantalogic/xml_parser.py +1 -0
- {quantalogic-0.30.8.dist-info → quantalogic-0.31.1.dist-info}/METADATA +27 -2
- {quantalogic-0.30.8.dist-info → quantalogic-0.31.1.dist-info}/RECORD +24 -21
- {quantalogic-0.30.8.dist-info → quantalogic-0.31.1.dist-info}/LICENSE +0 -0
- {quantalogic-0.30.8.dist-info → quantalogic-0.31.1.dist-info}/WHEEL +0 -0
- {quantalogic-0.30.8.dist-info → quantalogic-0.31.1.dist-info}/entry_points.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: quantalogic
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.31.1
|
4
4
|
Summary: QuantaLogic ReAct Agents
|
5
5
|
Author: Raphaël MANSUY
|
6
6
|
Author-email: raphael.mansuy@gmail.com
|
@@ -14,6 +14,7 @@ Requires-Dist: click (>=8.1.8,<9.0.0)
|
|
14
14
|
Requires-Dist: duckduckgo-search (>=7.2.1,<8.0.0)
|
15
15
|
Requires-Dist: faker (>=33.3.1,<34.0.0)
|
16
16
|
Requires-Dist: fastapi (>=0.115.6,<0.116.0)
|
17
|
+
Requires-Dist: fuzzywuzzy (>=0.18.0,<0.19.0)
|
17
18
|
Requires-Dist: google-auth (>=2.20.0,<3.0.0)
|
18
19
|
Requires-Dist: google-search-results (>=2.4.2,<3.0.0)
|
19
20
|
Requires-Dist: jinja2 (>=3.1.5,<4.0.0)
|
@@ -35,6 +36,7 @@ Requires-Dist: prompt-toolkit (>=3.0.48,<4.0.0)
|
|
35
36
|
Requires-Dist: pydantic (>=2.10.4,<3.0.0)
|
36
37
|
Requires-Dist: pymdown-extensions (>=10.3.1,<11.0.0)
|
37
38
|
Requires-Dist: python-dotenv (>=1.0.1,<2.0.0)
|
39
|
+
Requires-Dist: python-levenshtein (>=0.26.1,<0.27.0)
|
38
40
|
Requires-Dist: requests (>=2.32.3,<3.0.0)
|
39
41
|
Requires-Dist: rich (>=13.9.4,<14.0.0)
|
40
42
|
Requires-Dist: serpapi (>=0.1.5,<0.2.0)
|
@@ -114,7 +116,7 @@ We created [QuantaLogic](https://www.quantalogic.app) because we saw a significa
|
|
114
116
|
|
115
117
|
## Usage
|
116
118
|
|
117
|
-
**Usage:** `quantalogic [OPTIONS] COMMAND [ARGS]...`
|
119
|
+
**Usage:** `quantalogic [OPTIONS] COMMAND i[ARGS]...`
|
118
120
|
**Environment Variables:** Set `OPENAI_API_KEY`, `ANTHROPIC_API_KEY`, and `DEEPSEEK_API_KEY` for API integration.
|
119
121
|
|
120
122
|
**Options:**
|
@@ -129,6 +131,7 @@ We created [QuantaLogic](https://www.quantalogic.app) because we saw a significa
|
|
129
131
|
- `--help`: Show help message
|
130
132
|
|
131
133
|
**Commands:**
|
134
|
+
|
132
135
|
- `task`: Execute a task with the QuantaLogic AI Assistant
|
133
136
|
- `--file PATH`: Path to task file
|
134
137
|
- `--model-name TEXT`: Specify model
|
@@ -141,6 +144,25 @@ We created [QuantaLogic](https://www.quantalogic.app) because we saw a significa
|
|
141
144
|
- `--compact-every-n-iteration`: Memory optimization
|
142
145
|
- `--no-stream`: Disable streaming
|
143
146
|
|
147
|
+
|
148
|
+
- `list-models`: List available models with optional filtering.
|
149
|
+
- `--search TEXT`: Filter models by name or description.
|
150
|
+
- `--help`: Show help message.
|
151
|
+
|
152
|
+
Example:
|
153
|
+
```bash
|
154
|
+
quantalogic list-models --search qwen
|
155
|
+
```
|
156
|
+
|
157
|
+
Output:
|
158
|
+
```
|
159
|
+
Model Name Description
|
160
|
+
------------------- -------------------------------------------------------
|
161
|
+
dashscope/qwen-max Alibaba's Qwen-Max model optimized for maximum performance
|
162
|
+
dashscope/qwen-plus Alibaba's Qwen-Plus model offering balanced performance
|
163
|
+
```
|
164
|
+
|
165
|
+
|
144
166
|
## Release Notes
|
145
167
|
|
146
168
|
See our [Release Notes](RELEASE_NOTES.MD) for detailed version history and changes.
|
@@ -162,6 +184,9 @@ See our [Release Notes](RELEASE_NOTES.MD) for detailed version history and chang
|
|
162
184
|
| openrouter/openai/gpt-4o | OPENROUTER_API_KEY | OpenAI's GPT-4o model accessible through OpenRouter platform. |
|
163
185
|
| openrouter/mistralai/mistral-large-2411 | OPENROUTER_API_KEY | Mistral's large model optimized for complex reasoning tasks, available through OpenRouter with enhanced multilingual capabilities. |
|
164
186
|
| mistral/mistral-large-2407 | MISTRAL_API_KEY | Mistral's high-performance model designed for enterprise-grade applications, offering advanced reasoning and multilingual support. |
|
187
|
+
| dashscope/qwen-max | DASHSCOPE_API_KEY | Alibaba's Qwen-Max model optimized for maximum performance and extensive reasoning capabilities. |
|
188
|
+
| dashscope/qwen-plus | DASHSCOPE_API_KEY | Alibaba's Qwen-Plus model offering balanced performance and cost-efficiency for a variety of tasks. |
|
189
|
+
| dashscope/qwen-turbo | DASHSCOPE_API_KEY | Alibaba's Qwen-Turbo model designed for fast and efficient responses, ideal for high-throughput scenarios. |
|
165
190
|
|
166
191
|
To configure the environment API key for Quantalogic using LiteLLM, set the required environment variable for your chosen provider and any optional variables like `OPENAI_API_BASE` or `OPENROUTER_REFERRER`. Use a `.env` file or a secrets manager to securely store these keys, and load them in your code using `python-dotenv`. For advanced configurations, refer to the [LiteLLM documentation](https://docs.litellm.ai/docs/).
|
167
192
|
|
@@ -1,19 +1,21 @@
|
|
1
|
-
quantalogic/__init__.py,sha256=
|
2
|
-
quantalogic/agent.py,sha256=
|
3
|
-
quantalogic/agent_config.py,sha256=
|
4
|
-
quantalogic/agent_factory.py,sha256=
|
1
|
+
quantalogic/__init__.py,sha256=Su8CnOEdqKu4zTytjiP9P5olg-oIDuUA3fMWM1WUdRY,925
|
2
|
+
quantalogic/agent.py,sha256=5TscD78hIQBaF9pfxIRysC3HjnTJ6e0nyKDwrZMXHak,33223
|
3
|
+
quantalogic/agent_config.py,sha256=SIRVSF0kkrYfvtyHiMCJhnm_nYqJCD2p1pN-reMIy24,7868
|
4
|
+
quantalogic/agent_factory.py,sha256=HWKwN_DN57EPmME-hoCD2uJE0DqsPCzGU_V7nq54XzI,5284
|
5
5
|
quantalogic/coding_agent.py,sha256=Z7ik6LUvLKDnaW9Ax1iZGC7p1WMnlYEUIlE5lkBP414,4975
|
6
|
+
quantalogic/config.py,sha256=S_SAdsCoTa1jS8GIJW2TjlCtE5vjGDbMBg-6E0j8K1o,355
|
6
7
|
quantalogic/console_print_events.py,sha256=KB-DGi52As8M96eUs1N_vgNqKIFtqv_H8NTOd3TLTgQ,2163
|
7
8
|
quantalogic/console_print_token.py,sha256=qSU-3kmoZk4T5-1ybrEBi8tIXDPcz7eyWKhGh3E8uIg,395
|
8
9
|
quantalogic/docs_cli.py,sha256=3giVbUpespB9ZdTSJ955A3BhcOaBl5Lwsn1AVy9XAeY,1663
|
9
10
|
quantalogic/event_emitter.py,sha256=jqot2g4JRXc88K6PW837Oqxbf7shZfO-xdPaUWmzupk,7901
|
10
|
-
quantalogic/generative_model.py,sha256=
|
11
|
-
quantalogic/get_model_info.py,sha256=
|
12
|
-
quantalogic/interactive_text_editor.py,sha256=
|
13
|
-
quantalogic/
|
11
|
+
quantalogic/generative_model.py,sha256=ut_BFy4BqDxNqUXVbM8e_C_CzwNuJkvGWRsbpbKaees,13423
|
12
|
+
quantalogic/get_model_info.py,sha256=f64GpkpzeWXKRMBGG9edfAVP1-S-TclmxSaQC91vglw,1976
|
13
|
+
quantalogic/interactive_text_editor.py,sha256=1vW4poJl7SItRGEeGQgtCFcmRDXmfCM8PE-uBtDBJuE,16658
|
14
|
+
quantalogic/llm.py,sha256=yhuC1b5TCXojDXZEJK_PMcWUUxzrpI-gwzlIszAdJMM,4677
|
15
|
+
quantalogic/main.py,sha256=__-4pX2pgoSFvt-aLdp6Qlrq55_SrwP_l8u2uTaQbjg,9262
|
14
16
|
quantalogic/memory.py,sha256=zbtRuM05jaS2lJll-92dt5JfYVLERnF_m_9xqp2x-k0,6304
|
15
17
|
quantalogic/model_names.py,sha256=UZlz25zG9B2dpfwdw_e1Gw5qFsKQ7iME9FJh9Ts4u6s,938
|
16
|
-
quantalogic/prompts.py,sha256=
|
18
|
+
quantalogic/prompts.py,sha256=M-7rCaQoylnwxedhvy7VmQdgBG6TT1vmcf8_UzPTyY0,4035
|
17
19
|
quantalogic/search_agent.py,sha256=EA_FAPP0dVuUbJ_lAGKfYq1FIJ6oLYzGMgKLMvBL4ZQ,2472
|
18
20
|
quantalogic/server/__init__.py,sha256=8sz_PYAUCrkM6JM5EAUeIzNM4NPW6j6UT72JVkc21WQ,91
|
19
21
|
quantalogic/server/agent_server.py,sha256=VXaaWqReUSZOCX7CaKS14jria8yZn1kLEc52E2hV7ZA,22510
|
@@ -24,8 +26,8 @@ quantalogic/server/static/js/event_visualizer.js,sha256=eFkkWyNZw3zOZlF18kxbfsWq
|
|
24
26
|
quantalogic/server/static/js/quantalogic.js,sha256=x7TrlZGR1Y0WLK2DWl1xY847BhEWMPnL0Ua7KtOldUc,22311
|
25
27
|
quantalogic/server/templates/index.html,sha256=nDnXJoQEm1vXbhXtgaYk0G5VXj0wwzE6KrqEDhHFpj4,7773
|
26
28
|
quantalogic/task_file_reader.py,sha256=AMIJoeVY9Hhu0dBJ-C5EyaOFsXLkhn2oBhVs-WTnnLk,1460
|
27
|
-
quantalogic/task_runner.py,sha256=
|
28
|
-
quantalogic/tool_manager.py,sha256=
|
29
|
+
quantalogic/task_runner.py,sha256=Loa0hr-Bge-kVnTpoGuV7RotFdiAKQL_zj4OB4S6gko,9643
|
30
|
+
quantalogic/tool_manager.py,sha256=Uh-ufrJPufHqDUrFwKlXw3MOsVGc_4lQxuc6cRvZ7wU,7186
|
29
31
|
quantalogic/tools/__init__.py,sha256=pTirT5UBynuTkAzFYebu7ttGAMP3_A0idFvDp6lGZJQ,2146
|
30
32
|
quantalogic/tools/agent_tool.py,sha256=MXCXxWHRch7VK4UWhtRP1jeI8Np9Ne2CUGo8vm1oZiM,3064
|
31
33
|
quantalogic/tools/dalle_e.py,sha256=nur2kl6DKjaWWaHcmF_y9vS5bvty2fW8hQfdgf5KWfs,10948
|
@@ -33,7 +35,7 @@ quantalogic/tools/download_http_file_tool.py,sha256=wTfanbXjIRi5-qrbluuLvNmDNhvm
|
|
33
35
|
quantalogic/tools/duckduckgo_search_tool.py,sha256=xVaEb_SUK5NL3lwMQXj1rGQYYvNT-td-qaB9QCes27Q,7014
|
34
36
|
quantalogic/tools/edit_whole_content_tool.py,sha256=nXmpAvojvqvAcqNMy1kUKZ1ocboky_ZcnCR4SNCSPgw,2360
|
35
37
|
quantalogic/tools/elixir_tool.py,sha256=fzPPtAW-Koy9KB0r5k2zV1f1U0WphL-LXPPOBkeNkug,7652
|
36
|
-
quantalogic/tools/execute_bash_command_tool.py,sha256=
|
38
|
+
quantalogic/tools/execute_bash_command_tool.py,sha256=YK_cMuODJDOYheZKGmlpZTxJdVbimFLCUlND2_zmyMg,6869
|
37
39
|
quantalogic/tools/generate_database_report_tool.py,sha256=QbZjtmegGEOEZAIa-CSeBo5O9dYBZTk_PWrumyFUg1Q,1890
|
38
40
|
quantalogic/tools/grep_app_tool.py,sha256=BDxygwx7WCbqbiP2jmSRnIsoIUVYG5A4SKzId524ys4,19957
|
39
41
|
quantalogic/tools/input_question_tool.py,sha256=UoTlNhdmdr-eyiVtVCG2qJe_R4bU_ag-DzstSdmYkvM,1848
|
@@ -57,11 +59,11 @@ quantalogic/tools/python_tool.py,sha256=70HLbfU2clOBgj4axDOtIKzXwEBMNGEAX1nGSf-K
|
|
57
59
|
quantalogic/tools/read_file_block_tool.py,sha256=FTcDAUOOPQOvWRjnRI6nMI1Upus90klR4PC0pbPP_S8,5266
|
58
60
|
quantalogic/tools/read_file_tool.py,sha256=l6k-SOIV9krpXAmUTkxzua51S-KHgzGqkcDlD5AD8K0,2710
|
59
61
|
quantalogic/tools/read_html_tool.py,sha256=Vq2rHY8a36z1-4rN6c_kYjPUTQ4I2UT154PMpaoWSkA,11139
|
60
|
-
quantalogic/tools/replace_in_file_tool.py,sha256=
|
62
|
+
quantalogic/tools/replace_in_file_tool.py,sha256=wC7OlV8UpR5JGCD3VGUWlBEE6fMdGEDRcwE22cDSG2E,13764
|
61
63
|
quantalogic/tools/ripgrep_tool.py,sha256=sRzHaWac9fa0cCGhECJN04jw_Ko0O3u45KDWzMIYcvY,14291
|
62
|
-
quantalogic/tools/search_definition_names.py,sha256=
|
64
|
+
quantalogic/tools/search_definition_names.py,sha256=ui0304UgUke6Ca-H3-S4JP9TsdHhRCR5uk9kPuobIDA,18769
|
63
65
|
quantalogic/tools/serpapi_search_tool.py,sha256=sX-Noch77kGP2XiwislPNFyy3_4TH6TwMK6C81L3q9Y,5316
|
64
|
-
quantalogic/tools/sql_query_tool.py,sha256=
|
66
|
+
quantalogic/tools/sql_query_tool.py,sha256=5Jgr5m8Xv0B-3oHk560LmF0DgphGKWoAitElwqY9xCc,6120
|
65
67
|
quantalogic/tools/task_complete_tool.py,sha256=L8tuyVoN07Q2hOsxx17JTW0C5Jd_N-C0i_0PtCUQUKU,929
|
66
68
|
quantalogic/tools/tool.py,sha256=fdD-wwAOgfua2RRk1FHv_mlNBQ1FTzPO8vMIKiRirZM,9800
|
67
69
|
quantalogic/tools/unified_diff_tool.py,sha256=wTKXIoBEPcC_EcQmpJZVi95vq0Ncvsw1Kyc7XqPO6dU,14147
|
@@ -74,6 +76,7 @@ quantalogic/utils/__init__.py,sha256=Ltq7tzLuHCl9BpCvfRVA9Sjrtp1RJesrn7G980lbl_c
|
|
74
76
|
quantalogic/utils/ask_user_validation.py,sha256=F0jkbFJVXAImcSSP7op6dov5i80hRvZGRvBHbfcZrxg,340
|
75
77
|
quantalogic/utils/check_version.py,sha256=grxTfJE85GMue1OAk8z8_q8tjEJxQ8RO6fN3fJ_qedg,1136
|
76
78
|
quantalogic/utils/download_http_file.py,sha256=FTN3brq9WvCFvuBX-lYAhjsdYTzQT4m9m2vqlcyjkNk,3472
|
79
|
+
quantalogic/utils/get_all_models.py,sha256=GGhonVHUS7MeS6eogmkEwZETSVgeGU9pWCLTzR0XxAU,544
|
77
80
|
quantalogic/utils/get_coding_environment.py,sha256=oMK5ZanOqX_SFaJxUZQGlsAAaiLUgJufCJYDrHnHPuQ,584
|
78
81
|
quantalogic/utils/get_environment.py,sha256=7wWruSHYTUlnQWW27qU3WFYZnncqqqdofsxAsUU7lhw,875
|
79
82
|
quantalogic/utils/get_quantalogic_rules_content.py,sha256=fnEFTyClXzpI0MLaM-gB9R6l4CJlu2NnaYiR09ciJC8,673
|
@@ -83,10 +86,10 @@ quantalogic/utils/read_http_text_content.py,sha256=n3IayT5KcqctIVVF2gOQQAMf3Ow6e
|
|
83
86
|
quantalogic/version.py,sha256=ea_cRutaQk5_lwlLbUUvPFuOT7Of7-gAsDl7wdveS-g,107
|
84
87
|
quantalogic/version_check.py,sha256=cttR1lR3OienGLl7NrK1Te1fhDkqSjCci7HC1vFUTSY,1627
|
85
88
|
quantalogic/welcome_message.py,sha256=IXMhem8h7srzNUwvw8G_lmEkHU8PFfote021E_BXmVk,3039
|
86
|
-
quantalogic/xml_parser.py,sha256=
|
89
|
+
quantalogic/xml_parser.py,sha256=8yDxvKzAEnefNwUAR-wjerMDOj5T5cxak4WPIA83SBw,11516
|
87
90
|
quantalogic/xml_tool_parser.py,sha256=Vz4LEgDbelJynD1siLOVkJ3gLlfHsUk65_gCwbYJyGc,3784
|
88
|
-
quantalogic-0.
|
89
|
-
quantalogic-0.
|
90
|
-
quantalogic-0.
|
91
|
-
quantalogic-0.
|
92
|
-
quantalogic-0.
|
91
|
+
quantalogic-0.31.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
92
|
+
quantalogic-0.31.1.dist-info/METADATA,sha256=pLu3KI4tGKodQWubeVQm1G2P7tC9yZp22ZpOl35N074,22789
|
93
|
+
quantalogic-0.31.1.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
94
|
+
quantalogic-0.31.1.dist-info/entry_points.txt,sha256=h74O_Q3qBRCrDR99qvwB4BpBGzASPUIjCfxHq6Qnups,183
|
95
|
+
quantalogic-0.31.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|