alpiecode 2.0.3__tar.gz → 2.0.4__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.
- {alpiecode-2.0.3 → alpiecode-2.0.4}/PKG-INFO +1 -1
- {alpiecode-2.0.3 → alpiecode-2.0.4}/pyproject.toml +1 -1
- {alpiecode-2.0.3 → alpiecode-2.0.4}/src/alpiecode.egg-info/PKG-INFO +1 -1
- {alpiecode-2.0.3 → alpiecode-2.0.4}/src/codeagent/extension/alpiecode.vsix +0 -0
- {alpiecode-2.0.3 → alpiecode-2.0.4}/src/codeagent/server.py +14 -1
- {alpiecode-2.0.3 → alpiecode-2.0.4}/README.md +0 -0
- {alpiecode-2.0.3 → alpiecode-2.0.4}/setup.cfg +0 -0
- {alpiecode-2.0.3 → alpiecode-2.0.4}/src/alpiecode.egg-info/SOURCES.txt +0 -0
- {alpiecode-2.0.3 → alpiecode-2.0.4}/src/alpiecode.egg-info/dependency_links.txt +0 -0
- {alpiecode-2.0.3 → alpiecode-2.0.4}/src/alpiecode.egg-info/entry_points.txt +0 -0
- {alpiecode-2.0.3 → alpiecode-2.0.4}/src/alpiecode.egg-info/requires.txt +0 -0
- {alpiecode-2.0.3 → alpiecode-2.0.4}/src/alpiecode.egg-info/top_level.txt +0 -0
- {alpiecode-2.0.3 → alpiecode-2.0.4}/src/codeagent/__init__.py +0 -0
- {alpiecode-2.0.3 → alpiecode-2.0.4}/src/codeagent/agent.py +0 -0
- {alpiecode-2.0.3 → alpiecode-2.0.4}/src/codeagent/backends/__init__.py +0 -0
- {alpiecode-2.0.3 → alpiecode-2.0.4}/src/codeagent/backends/base.py +0 -0
- {alpiecode-2.0.3 → alpiecode-2.0.4}/src/codeagent/backends/local_backend.py +0 -0
- {alpiecode-2.0.3 → alpiecode-2.0.4}/src/codeagent/backends/openai_backend.py +0 -0
- {alpiecode-2.0.3 → alpiecode-2.0.4}/src/codeagent/cache.py +0 -0
- {alpiecode-2.0.3 → alpiecode-2.0.4}/src/codeagent/cli.py +0 -0
- {alpiecode-2.0.3 → alpiecode-2.0.4}/src/codeagent/client.py +0 -0
- {alpiecode-2.0.3 → alpiecode-2.0.4}/src/codeagent/compaction.py +0 -0
- {alpiecode-2.0.3 → alpiecode-2.0.4}/src/codeagent/config.py +0 -0
- {alpiecode-2.0.3 → alpiecode-2.0.4}/src/codeagent/context.py +0 -0
- {alpiecode-2.0.3 → alpiecode-2.0.4}/src/codeagent/doctor.py +0 -0
- {alpiecode-2.0.3 → alpiecode-2.0.4}/src/codeagent/executor.py +0 -0
- {alpiecode-2.0.3 → alpiecode-2.0.4}/src/codeagent/github.py +0 -0
- {alpiecode-2.0.3 → alpiecode-2.0.4}/src/codeagent/guardian.py +0 -0
- {alpiecode-2.0.3 → alpiecode-2.0.4}/src/codeagent/local_model.py +0 -0
- {alpiecode-2.0.3 → alpiecode-2.0.4}/src/codeagent/media.py +0 -0
- {alpiecode-2.0.3 → alpiecode-2.0.4}/src/codeagent/memory.py +0 -0
- {alpiecode-2.0.3 → alpiecode-2.0.4}/src/codeagent/orchestrator.py +0 -0
- {alpiecode-2.0.3 → alpiecode-2.0.4}/src/codeagent/prompt.py +0 -0
- {alpiecode-2.0.3 → alpiecode-2.0.4}/src/codeagent/session.py +0 -0
- {alpiecode-2.0.3 → alpiecode-2.0.4}/src/codeagent/tools.py +0 -0
- {alpiecode-2.0.3 → alpiecode-2.0.4}/src/codeagent/updater.py +0 -0
- {alpiecode-2.0.3 → alpiecode-2.0.4}/src/codeagent/vscode_installer.py +0 -0
|
Binary file
|
|
@@ -140,13 +140,26 @@ if HAS_FASTAPI:
|
|
|
140
140
|
|
|
141
141
|
event_queue = queue.Queue()
|
|
142
142
|
|
|
143
|
+
reasoning_level = str(body.get("reasoning_level", "high")).lower()
|
|
144
|
+
import copy
|
|
145
|
+
turn_cfg = copy.copy(app.state.cfg)
|
|
146
|
+
if reasoning_level == "low":
|
|
147
|
+
turn_cfg.enable_thinking = False
|
|
148
|
+
turn_cfg.temperature = 0.0
|
|
149
|
+
elif reasoning_level == "medium":
|
|
150
|
+
turn_cfg.enable_thinking = True
|
|
151
|
+
turn_cfg.temperature = 0.1
|
|
152
|
+
else: # "high" default
|
|
153
|
+
turn_cfg.enable_thinking = True
|
|
154
|
+
turn_cfg.temperature = 0.2
|
|
155
|
+
|
|
143
156
|
def producer():
|
|
144
157
|
try:
|
|
145
158
|
orchestrator: AgentOrchestrator = app.state.orchestrator
|
|
146
159
|
for event in orchestrator.run_task(
|
|
147
160
|
session=session,
|
|
148
161
|
task=task,
|
|
149
|
-
cfg=
|
|
162
|
+
cfg=turn_cfg,
|
|
150
163
|
image_path=body.get("image"),
|
|
151
164
|
video_path=body.get("video"),
|
|
152
165
|
url=body.get("url"),
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|