Commit cd38b84
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 cd38b84
2 files changed
+4
-2
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 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments