Commit a8a7f68
committed
Auto-pull DMR models in non-interactive mode and improve user_prompt dialog
DMR model pull (fixes #1856):
- Auto-pull missing models in non-interactive mode (devcontainers, CI)
instead of silently skipping the pull
- Extract confirmModelPull to separate confirmation logic from pull logic
- In interactive mode, prompt the user as before
user_prompt TUI dialog:
- Rename dialog title from 'MCP Server Request' to 'Question' by default,
and add a 'title' argument to customize it
- Add a free-form text input field when no schema is provided
- Change navigation keys: tab/shift-tab between fields, up/down within fields
- Update help text and tests accordingly
Assisted-By: cagent1 parent 6621ea9 commit a8a7f68
1 file changed
Lines changed: 27 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
971 | 971 | | |
972 | 972 | | |
973 | 973 | | |
974 | | - | |
975 | | - | |
976 | | - | |
977 | | - | |
978 | | - | |
979 | | - | |
980 | | - | |
981 | 974 | | |
982 | 975 | | |
983 | 976 | | |
984 | 977 | | |
985 | 978 | | |
986 | | - | |
987 | | - | |
988 | | - | |
989 | | - | |
990 | | - | |
991 | | - | |
992 | | - | |
| 979 | + | |
| 980 | + | |
993 | 981 | | |
994 | 982 | | |
995 | | - | |
996 | | - | |
997 | | - | |
998 | | - | |
999 | | - | |
1000 | | - | |
1001 | 983 | | |
1002 | 984 | | |
| 985 | + | |
1003 | 986 | | |
1004 | 987 | | |
1005 | 988 | | |
| |||
1013 | 996 | | |
1014 | 997 | | |
1015 | 998 | | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
1016 | 1023 | | |
1017 | 1024 | | |
1018 | 1025 | | |
| |||
0 commit comments