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