refs #731: preserve Select AI configuration binding
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user