refs #731: preserve Select AI configuration binding

This commit is contained in:
devmrko
2026-07-24 16:09:02 +09:00
parent 745c091113
commit 48476961ed
2 changed files with 2 additions and 5 deletions

View File

@@ -84,10 +84,6 @@ public record BackofficeProperties(
Integer fewShotTopK
) {
public SelectAi(String dbUrl, String dbUsername, String dbPassword, String profile) {
this(dbUrl, dbUsername, dbPassword, profile, true, 3);
}
public boolean configured() {
return dbUrl != null && !dbUrl.isBlank()
&& dbUsername != null && !dbUsername.isBlank()

View File

@@ -21,7 +21,8 @@ class McpSseServiceTest {
null,
null,
null,
new BackofficeProperties.SelectAi("", "", "", "SGMP_POC_OCI_GPT54MINI")
new BackofficeProperties.SelectAi(
"", "", "", "SGMP_POC_OCI_GPT54MINI", true, 3)
),
new McpProperties(
"oracle.select_ai.test_data_text2sql",