minchyeom commited on
Commit
79f2753
·
1 Parent(s): 832af4d

Add 'system' role to Msg TypedDict for enhanced message handling

Browse files
Files changed (1) hide show
  1. src/schema.py +1 -1
src/schema.py CHANGED
@@ -6,7 +6,7 @@ from ollama import Message
6
 
7
 
8
  class Msg(TypedDict, total=False):
9
- role: Literal["user", "assistant", "tool"]
10
  content: str
11
  name: Optional[str]
12
  tool_calls: Optional[List[Message.ToolCall]]
 
6
 
7
 
8
  class Msg(TypedDict, total=False):
9
+ role: Literal["system", "user", "assistant", "tool"]
10
  content: str
11
  name: Optional[str]
12
  tool_calls: Optional[List[Message.ToolCall]]