refs #731: preserve Select AI configuration binding

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

View File

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

View File

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