File tree 10 files changed +15
-7
lines changed
langchain4j-anthropic-spring-boot-starter
src/test/java/dev/langchain4j/anthropic/spring
langchain4j-easy-rag-spring-boot-starter
langchain4j-ollama-spring-boot-starter
langchain4j-open-ai-spring-boot-starter
langchain4j-spring-boot-starter
10 files changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ Please provide a relevant code snippets to reproduce this bug.
23
23
A clear and concise description of what you expected to happen.
24
24
25
25
** Please complete the following information:**
26
- - LangChain4j version: e.g. 0.28 .0
26
+ - LangChain4j version: e.g. 0.29 .0
27
27
- Java version: e.g. 11
28
28
- Spring Boot version: e.g. 2.7.18
29
29
Original file line number Diff line number Diff line change 28
28
- name : Build with JDK ${{ matrix.java_version }}
29
29
run : mvn -U -B deploy
30
30
env :
31
+ ANTHROPIC_API_KEY : ${{ secrets.ANTHROPIC_API_KEY }}
31
32
OPENAI_API_KEY : ${{ secrets.OPENAI_API_KEY }}
32
33
OSSRH_USERNAME : ${{ secrets.OSSRH_USERNAME }}
33
34
OSSRH_PASSWORD : ${{ secrets.OSSRH_PASSWORD }}
Original file line number Diff line number Diff line change 27
27
- name : release
28
28
run : mvn -B -U --fail-at-end -Psign clean deploy
29
29
env :
30
+ ANTHROPIC_API_KEY : ${{ secrets.ANTHROPIC_API_KEY }}
30
31
OPENAI_API_KEY : ${{ secrets.OPENAI_API_KEY }}
31
32
GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
32
33
OSSRH_USERNAME : ${{ secrets.OSSRH_USERNAME }}
Original file line number Diff line number Diff line change 7
7
<parent >
8
8
<groupId >dev.langchain4j</groupId >
9
9
<artifactId >langchain4j-spring</artifactId >
10
- <version >0.29.0-SNAPSHOT </version >
10
+ <version >0.29.0</version >
11
11
<relativePath >../pom.xml</relativePath >
12
12
</parent >
13
13
Original file line number Diff line number Diff line change 7
7
import dev .langchain4j .model .chat .ChatLanguageModel ;
8
8
import dev .langchain4j .model .chat .StreamingChatLanguageModel ;
9
9
import dev .langchain4j .model .output .Response ;
10
+ import org .junit .jupiter .api .AfterEach ;
10
11
import org .junit .jupiter .api .Test ;
11
12
import org .springframework .boot .autoconfigure .AutoConfigurations ;
12
13
import org .springframework .boot .test .context .runner .ApplicationContextRunner ;
@@ -23,6 +24,11 @@ class AutoConfigIT {
23
24
ApplicationContextRunner contextRunner = new ApplicationContextRunner ()
24
25
.withConfiguration (AutoConfigurations .of (AutoConfig .class ));
25
26
27
+ @ AfterEach
28
+ void afterEach () throws InterruptedException {
29
+ Thread .sleep (10_000 ); // to avoid hitting rate limits
30
+ }
31
+
26
32
@ Test
27
33
void should_provide_chat_model () {
28
34
contextRunner
Original file line number Diff line number Diff line change 7
7
<parent >
8
8
<groupId >dev.langchain4j</groupId >
9
9
<artifactId >langchain4j-spring</artifactId >
10
- <version >0.29.0-SNAPSHOT </version >
10
+ <version >0.29.0</version >
11
11
<relativePath >../pom.xml</relativePath >
12
12
</parent >
13
13
Original file line number Diff line number Diff line change 7
7
<parent >
8
8
<groupId >dev.langchain4j</groupId >
9
9
<artifactId >langchain4j-spring</artifactId >
10
- <version >0.29.0-SNAPSHOT </version >
10
+ <version >0.29.0</version >
11
11
<relativePath >../pom.xml</relativePath >
12
12
</parent >
13
13
Original file line number Diff line number Diff line change 7
7
<parent >
8
8
<groupId >dev.langchain4j</groupId >
9
9
<artifactId >langchain4j-spring</artifactId >
10
- <version >0.29.0-SNAPSHOT </version >
10
+ <version >0.29.0</version >
11
11
<relativePath >../pom.xml</relativePath >
12
12
</parent >
13
13
Original file line number Diff line number Diff line change 7
7
<parent >
8
8
<groupId >dev.langchain4j</groupId >
9
9
<artifactId >langchain4j-spring</artifactId >
10
- <version >0.29.0-SNAPSHOT </version >
10
+ <version >0.29.0</version >
11
11
<relativePath >../pom.xml</relativePath >
12
12
</parent >
13
13
Original file line number Diff line number Diff line change 6
6
7
7
<groupId >dev.langchain4j</groupId >
8
8
<artifactId >langchain4j-spring</artifactId >
9
- <version >0.29.0-SNAPSHOT </version >
9
+ <version >0.29.0</version >
10
10
<packaging >pom</packaging >
11
11
12
12
<name >langchain4j-spring parent POM</name >
You can’t perform that action at this time.
0 commit comments