Merge pull request #73 from daguava/tool-role

Add 'tool' role
This commit is contained in:
Amith Koujalgi 2024-10-29 22:05:43 +05:30 committed by GitHub
commit 7fabead249
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,7 +8,8 @@ import com.fasterxml.jackson.annotation.JsonValue;
public enum OllamaChatMessageRole { public enum OllamaChatMessageRole {
SYSTEM("system"), SYSTEM("system"),
USER("user"), USER("user"),
ASSISTANT("assistant"); ASSISTANT("assistant"),
TOOL("tool");
@JsonValue @JsonValue
private String roleName; private String roleName;