Skip to content

Commit

Permalink
Tweak settings design
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexProgrammerDE committed Nov 15, 2024
1 parent 85aab4f commit 29b710b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ private static class ForwardingBypassSettings implements SettingsObject {
.uiName("Secret")
.description("Secret key used for forwarding. (Not needed for legacy mode)")
.defaultValue("forwarding secret")
.secret(true)
.build();

@RequiredArgsConstructor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,18 @@ public class AISettings implements SettingsObject {
ImmutableStringProperty.builder()
.namespace(NAMESPACE)
.key("api-username")
.uiName("API Username")
.uiName("API Username (optional)")
.description("Ollama API server username (if required)")
.defaultValue("")
.build();
public static final StringProperty API_PASSWORD =
ImmutableStringProperty.builder()
.namespace(NAMESPACE)
.key("api-password")
.uiName("API Password")
.uiName("API Password (optional)")
.description("Ollama API server password (if required)")
.defaultValue("")
.secret(true)
.build();
public static final IntProperty REQUEST_TIMEOUT =
ImmutableIntProperty.builder()
Expand Down

0 comments on commit 29b710b

Please sign in to comment.