Commit
·
27d9808
1
Parent(s):
cc395f5
fix: toggle visibility of resolved/unresolved strategy params
Browse filesProperly hide/show resolved_model and unresolved_model dropdowns when switching strategies. Bump version to 0.3.19.
- app.py +3 -1
- pyproject.toml +1 -1
app.py
CHANGED
|
@@ -1600,6 +1600,8 @@ def build_app():
|
|
| 1600 |
gr.update(visible=show_grep and has_m2), # grep_model_2
|
| 1601 |
gr.update(visible=show_grep and has_m3), # grep_model_3
|
| 1602 |
gr.update(visible=show_resolved), # resolved_hint
|
|
|
|
|
|
|
| 1603 |
gr.update(visible=show_part), # part_hint
|
| 1604 |
gr.update(visible=show_part), # part_mode
|
| 1605 |
gr.update(visible=show_part), # start_1
|
|
@@ -1619,7 +1621,7 @@ def build_app():
|
|
| 1619 |
every_k_hint, k_model_1, k_model_2, k_model_3,
|
| 1620 |
slice_hint, slice_model_1, slice_model_2, slice_model_3,
|
| 1621 |
grep_hint, grep_model_1, grep_model_2, grep_model_3,
|
| 1622 |
-
resolved_hint,
|
| 1623 |
part_hint, part_mode, start_1, end_1, start_2, end_2, start_3, end_3,
|
| 1624 |
],
|
| 1625 |
)
|
|
|
|
| 1600 |
gr.update(visible=show_grep and has_m2), # grep_model_2
|
| 1601 |
gr.update(visible=show_grep and has_m3), # grep_model_3
|
| 1602 |
gr.update(visible=show_resolved), # resolved_hint
|
| 1603 |
+
gr.update(visible=show_resolved), # resolved_model
|
| 1604 |
+
gr.update(visible=show_resolved), # unresolved_model
|
| 1605 |
gr.update(visible=show_part), # part_hint
|
| 1606 |
gr.update(visible=show_part), # part_mode
|
| 1607 |
gr.update(visible=show_part), # start_1
|
|
|
|
| 1621 |
every_k_hint, k_model_1, k_model_2, k_model_3,
|
| 1622 |
slice_hint, slice_model_1, slice_model_2, slice_model_3,
|
| 1623 |
grep_hint, grep_model_1, grep_model_2, grep_model_3,
|
| 1624 |
+
resolved_hint, resolved_model, unresolved_model,
|
| 1625 |
part_hint, part_mode, start_1, end_1, start_2, end_2, start_3, end_3,
|
| 1626 |
],
|
| 1627 |
)
|
pyproject.toml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
[project]
|
| 2 |
name = "routing-money-calculation"
|
| 3 |
-
version = "0.3.
|
| 4 |
description = "Rough estimate of routing cost for AI agents"
|
| 5 |
readme = "README.md"
|
| 6 |
license = "Apache-2.0"
|
|
|
|
| 1 |
[project]
|
| 2 |
name = "routing-money-calculation"
|
| 3 |
+
version = "0.3.19"
|
| 4 |
description = "Rough estimate of routing cost for AI agents"
|
| 5 |
readme = "README.md"
|
| 6 |
license = "Apache-2.0"
|