Skip to content

Commit b8e812d

Browse files
authored
Polishing
1 parent 81b7ac9 commit b8e812d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-ai-core/src/main/java/org/springframework/ai/chat/prompt/PromptTemplate.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public PromptTemplate(String template, Map<String, Object> model) {
6767
this.template = template;
6868
// If the template string is not valid, an exception will be thrown
6969
try {
70-
this.st = new ST(template, '{', '}');
70+
this.st = new ST(this.template, '{', '}');
7171
for (Entry<String, Object> entry : model.entrySet()) {
7272
add(entry.getKey(), entry.getValue());
7373
}

0 commit comments

Comments
 (0)