File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
spring-ai-core/src/main/java/org/springframework/ai/chat/messages Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2023 the original author or authors.
2
+ * Copyright 2023-2024 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
21
21
public class FunctionMessage extends AbstractMessage {
22
22
23
23
public FunctionMessage (String content ) {
24
- super (MessageType .SYSTEM , content );
24
+ super (MessageType .FUNCTION , content );
25
25
}
26
26
27
27
public FunctionMessage (String content , Map <String , Object > properties ) {
28
- super (MessageType .SYSTEM , content , properties );
28
+ super (MessageType .FUNCTION , content , properties );
29
29
}
30
30
31
31
@ Override
You can’t perform that action at this time.
0 commit comments