mirror of
https://github.com/amithkoujalgi/ollama4j.git
synced 2025-05-15 11:57:12 +02:00
Add tool role
This commit is contained in:
parent
d949a3cb69
commit
268a973d5e
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user