(20241212) Day-end push.

This commit is contained in:
2024-12-12 20:27:00 +05:30
parent e5d5c4c86d
commit e9a106dd91
10 changed files with 212 additions and 403 deletions
+13
View File
@@ -220,6 +220,19 @@ class LLMOutput(BaseModel):
class Config:
extra = "forbid"
# ┏┓ •
# ┃┃┏┓┏┓┏┓┏┓┏┓╋┓┏┓┏
# ┣┛┛ ┗┛┣┛┗ ┛ ┗┗┗ ┛
# ┛
@property
def summary(self):
return {
"output": self.output,
"tokens": self.tokens.model_dump(),
"invocationId": self.invocationId
}
# *****************************************************************************************************************
# ***** ****
+3 -2
View File
@@ -160,9 +160,10 @@ class CoreMessageModel(BaseModel):
default = False
)
aiSnippet: LLMOutput | None = Field(
aiSnippet: LLMOutput | dict | None = Field(
description = "holds a short summary generated by ",
frozen = False
frozen = False,
default = None
)
preview: str = Field(