feat: archive

This commit is contained in:
莘权 马 2023-08-25 21:10:14 +08:00
parent 5f16d6e853
commit 799dbd396e
10 changed files with 291 additions and 5 deletions

View file

@ -10,7 +10,7 @@ from __future__ import annotations
from dataclasses import dataclass, field
from enum import Enum
from typing import Type, TypedDict, Set, Optional
from typing import Type, TypedDict, Set, Optional, List
from pydantic import BaseModel
@ -98,6 +98,7 @@ class AIMessage(Message):
super().__init__(content, 'assistant')
if __name__ == '__main__':
test_content = 'test_message'
msgs = [