From 8e8a9426f5604d9bdfda1e0e26e26407b62c764a Mon Sep 17 00:00:00 2001 From: lixw <> Date: Mon, 30 Dec 2024 11:11:47 +0800 Subject: [PATCH] add spring boot starter of xinference --- .../community/xinference/spring/XinferenceContainer.java | 1 - 1 file changed, 1 deletion(-) diff --git a/spring-boot-starters/langchain4j-community-xinference-spring-boot-starter/src/test/java/dev/langchain4j/community/xinference/spring/XinferenceContainer.java b/spring-boot-starters/langchain4j-community-xinference-spring-boot-starter/src/test/java/dev/langchain4j/community/xinference/spring/XinferenceContainer.java index acaf356..7ed4fe5 100644 --- a/spring-boot-starters/langchain4j-community-xinference-spring-boot-starter/src/test/java/dev/langchain4j/community/xinference/spring/XinferenceContainer.java +++ b/spring-boot-starters/langchain4j-community-xinference-spring-boot-starter/src/test/java/dev/langchain4j/community/xinference/spring/XinferenceContainer.java @@ -45,7 +45,6 @@ public XinferenceContainer(DockerImageName image) { }); } this.withExposedPorts(EXPOSED_PORT); - this.withEnv(Map.of("XINFERENCE_MODEL_SRC", "modelscope")); // https://github.com/xorbitsai/inference/issues/2573 this.withCommand("bash", "-c", "xinference-local -H 0.0.0.0"); this.waitingFor(Wait.forListeningPort().withStartupTimeout(Duration.ofMinutes(10)));