Commit 94a20d1
committed
Fix GradioUI system prompt
On the GradioUI the system prompt displayed is *always* using the
default system prompt, which is problematic when running the service
with a custom system prompt (`system_prompt_path`) and allowing
overriding it (`enable_system_prompt_override: true`).
With this simple patch we default to the configured system prompt on the
GradioUI and only use the default system prompt if we don't have it
configured.1 parent fa812b7 commit 94a20d1
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
0 commit comments