Add tool role

This commit is contained in:
Mitchell Lutzke 2024-10-27 17:06:25 -07:00
parent d949a3cb69
commit 268a973d5e

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;