Skip to content

Commit eeb12b3

Browse files
author
Max Hniebergall
committed
actually include service settings
1 parent 0278776 commit eeb12b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/services/elastic/ElasticInferenceService.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ public Model parsePersistedConfig(String inferenceEntityId, TaskType taskType, M
304304

305305
if (DEFAULT_EIS_COMPLETION_ENDPOINT_ID.equals(inferenceEntityId)) {
306306
var defaultServiceSettings = new HashMap<String, Object>(1);
307+
defaultServiceSettings.put(MODEL_ID, "elastic-model"); // TODO
307308
var serviceSettings = ElasticInferenceServiceCompletionServiceSettings.fromMap(
308309
defaultServiceSettings,
309310
ConfigurationParseContext.PERSISTENT

0 commit comments

Comments
 (0)