flock-core 0.4.517__py3-none-any.whl → 0.4.518__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.
Potentially problematic release.
This version of flock-core might be problematic. Click here for more details.
- flock/webapp/app/api/execution.py +4 -3
- flock/webapp/templates/partials/_chat_messages.html +4 -7
- {flock_core-0.4.517.dist-info → flock_core-0.4.518.dist-info}/METADATA +1 -1
- {flock_core-0.4.517.dist-info → flock_core-0.4.518.dist-info}/RECORD +7 -7
- {flock_core-0.4.517.dist-info → flock_core-0.4.518.dist-info}/WHEEL +0 -0
- {flock_core-0.4.517.dist-info → flock_core-0.4.518.dist-info}/entry_points.txt +0 -0
- {flock_core-0.4.517.dist-info → flock_core-0.4.518.dist-info}/licenses/LICENSE +0 -0
|
@@ -154,14 +154,14 @@ async def htmx_run_flock(
|
|
|
154
154
|
raw_json_for_template = json.dumps(result_data, indent=2)
|
|
155
155
|
# Unescape newlines for proper display in HTML <pre> tag
|
|
156
156
|
result_data_raw_json_str = raw_json_for_template.replace('\\n', '\n')
|
|
157
|
-
|
|
157
|
+
root_path = request.scope.get("root_path", "")
|
|
158
158
|
return templates.TemplateResponse(
|
|
159
159
|
"partials/_results_display.html",
|
|
160
160
|
{
|
|
161
161
|
"request": request,
|
|
162
162
|
"result": result_data,
|
|
163
163
|
"result_raw_json": result_data_raw_json_str,
|
|
164
|
-
"feedback_endpoint": "/ui/api/flock/htmx/feedback",
|
|
164
|
+
"feedback_endpoint": f"{root_path}/ui/api/flock/htmx/feedback",
|
|
165
165
|
"share_id": None,
|
|
166
166
|
"flock_name": current_flock_from_state.name,
|
|
167
167
|
"agent_name": start_agent_name,
|
|
@@ -226,6 +226,7 @@ async def htmx_run_shared_flock(
|
|
|
226
226
|
except Exception as e:
|
|
227
227
|
shared_logger.error(f"HTMX Run Shared: Error during execution for '{start_agent_name}' (share_id: {share_id}): {e}", exc_info=True)
|
|
228
228
|
return HTMLResponse(f"<p class='error'>An unexpected error occurred: {e!s}</p>")
|
|
229
|
+
root_path = request.scope.get("root_path", "")
|
|
229
230
|
|
|
230
231
|
return templates.TemplateResponse(
|
|
231
232
|
"partials/_results_display.html",
|
|
@@ -233,7 +234,7 @@ async def htmx_run_shared_flock(
|
|
|
233
234
|
"request": request,
|
|
234
235
|
"result": result_data,
|
|
235
236
|
"result_raw_json": result_data_raw_json_str,
|
|
236
|
-
"feedback_endpoint": "/ui/api/flock/htmx/feedback-shared",
|
|
237
|
+
"feedback_endpoint": f"{root_path}/ui/api/flock/htmx/feedback-shared",
|
|
237
238
|
"share_id": share_id,
|
|
238
239
|
"flock_name": temp_flock.name,
|
|
239
240
|
"agent_name": start_agent_name,
|
|
@@ -19,10 +19,8 @@
|
|
|
19
19
|
<input type="hidden" name="agent_name" value="{{ entry.agent }}">
|
|
20
20
|
<input type="hidden" name="actual_response" value='{{ entry.raw_json | replace("'", "'") }}'>
|
|
21
21
|
<input type="hidden" name="reason" value="positive">
|
|
22
|
-
</form>
|
|
23
|
-
|
|
24
|
-
<a href="#"
|
|
25
|
-
hx-post="{% if share_id %}/chat/htmx/feedback-shared{% else %}/chat/htmx/feedback{% endif %}"
|
|
22
|
+
</form> <a href="#"
|
|
23
|
+
hx-post="{% if share_id %}{{ url_for('chat_feedback_shared') }}{% else %}{{ url_for('chat_feedback') }}{% endif %}"
|
|
26
24
|
hx-include="closest .feedback-meta"
|
|
27
25
|
hx-target="closest .bubble"
|
|
28
26
|
hx-swap="innerHTML"
|
|
@@ -34,9 +32,8 @@
|
|
|
34
32
|
</div>
|
|
35
33
|
|
|
36
34
|
<!-- Feedback form (initially hidden, toggled by 👎 link) -->
|
|
37
|
-
<div x-show="showForm" style="width: 800px;">
|
|
38
|
-
|
|
39
|
-
hx-post="{% if share_id %}/chat/htmx/feedback-shared{% else %}/chat/htmx/feedback{% endif %}"
|
|
35
|
+
<div x-show="showForm" style="width: 800px;"> <form
|
|
36
|
+
hx-post="{% if share_id %}{{ url_for('chat_feedback_shared') }}{% else %}{{ url_for('chat_feedback') }}{% endif %}"
|
|
40
37
|
hx-target="closest .bubble"
|
|
41
38
|
hx-swap="innerHTML"
|
|
42
39
|
x-on:htmx:afterRequest="showForm=false"
|
|
@@ -502,7 +502,7 @@ flock/webapp/app/theme_mapper.py,sha256=QzWwLWpED78oYp3FjZ9zxv1KxCyj43m8MZ0fhfzz
|
|
|
502
502
|
flock/webapp/app/utils.py,sha256=RF8DMKKAj1XPmm4txUdo2OdswI1ATQ7cqUm6G9JFDzA,2942
|
|
503
503
|
flock/webapp/app/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
504
504
|
flock/webapp/app/api/agent_management.py,sha256=5xqO94QjjAYvxImyjKV9EGUQOvo4n3eqs7pGwGPSQJ4,10394
|
|
505
|
-
flock/webapp/app/api/execution.py,sha256=
|
|
505
|
+
flock/webapp/app/api/execution.py,sha256=tmExz11EPYmltYsQ-xB58ueXZbmlpW1fJFi0s6LjWnU,13120
|
|
506
506
|
flock/webapp/app/api/flock_management.py,sha256=1o-6-36kTnUjI3am_BqLpdrcz0aqFXrxE-hQHIFcCsg,4869
|
|
507
507
|
flock/webapp/app/api/registry_viewer.py,sha256=IoInxJiRR0yFlecG_l2_eRc6l35RQQyEDMG9BcBkipY,1020
|
|
508
508
|
flock/webapp/app/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -528,7 +528,7 @@ flock/webapp/templates/partials/_agent_list.html,sha256=0TcutldXJncQP6jMsXh8cnbj
|
|
|
528
528
|
flock/webapp/templates/partials/_agent_manager_view.html,sha256=8oJlxjtgeOkCQcfhaAmE4s_tklk25Jw0XScXpS_MVr0,2571
|
|
529
529
|
flock/webapp/templates/partials/_agent_tools_checklist.html,sha256=T60fb7OrJYHUw0hJLC_otskgvbH9dZXbv5klgWBkSWk,686
|
|
530
530
|
flock/webapp/templates/partials/_chat_container.html,sha256=MHj9yRHy_wVZD6f_Csc0bZBhtxJMfr2V5bRRAaXiqtU,843
|
|
531
|
-
flock/webapp/templates/partials/_chat_messages.html,sha256=
|
|
531
|
+
flock/webapp/templates/partials/_chat_messages.html,sha256=CEvNAVLCanBXRW6-3Oy11XzUUlWdUEZml9nujO92kPQ,3831
|
|
532
532
|
flock/webapp/templates/partials/_chat_settings_form.html,sha256=iPb0XT52VLyU9HDsoFH41uXosGJsuXwaU1smKDWc_ms,4538
|
|
533
533
|
flock/webapp/templates/partials/_create_flock_form.html,sha256=7IukF4rQwdn3D5fVXqusGlTmNeoJXEwclhzQt57NVDY,2823
|
|
534
534
|
flock/webapp/templates/partials/_dashboard_flock_detail.html,sha256=RWPshcq3-11j13jw5j-x4r3AMULdNHsWK4ejfLYD4MM,1044
|
|
@@ -562,8 +562,8 @@ flock/workflow/agent_execution_activity.py,sha256=Gy6FtuVAjf0NiUXmC3syS2eJpNQF4R
|
|
|
562
562
|
flock/workflow/flock_workflow.py,sha256=iSUF_soFvWar0ffpkzE4irkDZRx0p4HnwmEBi_Ne2sY,9666
|
|
563
563
|
flock/workflow/temporal_config.py,sha256=3_8O7SDEjMsSMXsWJBfnb6XTp0TFaz39uyzSlMTSF_I,3988
|
|
564
564
|
flock/workflow/temporal_setup.py,sha256=YIHnSBntzOchHfMSh8hoLeNXrz3B1UbR14YrR6soM7A,1606
|
|
565
|
-
flock_core-0.4.
|
|
566
|
-
flock_core-0.4.
|
|
567
|
-
flock_core-0.4.
|
|
568
|
-
flock_core-0.4.
|
|
569
|
-
flock_core-0.4.
|
|
565
|
+
flock_core-0.4.518.dist-info/METADATA,sha256=50iDWHL1rHH4LX9gJIF53tA9afqFS6QNqccVFcZX-Io,22786
|
|
566
|
+
flock_core-0.4.518.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
567
|
+
flock_core-0.4.518.dist-info/entry_points.txt,sha256=rWaS5KSpkTmWySURGFZk6PhbJ87TmvcFQDi2uzjlagQ,37
|
|
568
|
+
flock_core-0.4.518.dist-info/licenses/LICENSE,sha256=iYEqWy0wjULzM9GAERaybP4LBiPeu7Z1NEliLUdJKSc,1072
|
|
569
|
+
flock_core-0.4.518.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|