(20250123) Bug fix in LLM invocation.
This commit is contained in:
@@ -185,7 +185,7 @@ async def invoke_llm(
|
||||
"model": llm_response.model,
|
||||
"output": llm_response.output,
|
||||
"tokens": llm_response.tokens.model_dump(),
|
||||
"invocationId": llm_response.invocationId
|
||||
"invocationId": str(llm_response.invocationId)
|
||||
} if success else None
|
||||
)
|
||||
|
||||
|
||||
@@ -151,7 +151,7 @@ class MailController(CoreMessageController, ABC):
|
||||
LLMInputMessage(
|
||||
role = "system",
|
||||
content = (
|
||||
"You're an expert mail summary assistant. That summarizes sent mails in 150 chars or less. "
|
||||
"You're an expert mail summary assistant that summarizes sent mails in 150 chars or less. "
|
||||
"The objective of your user is to be able to recollect what the mail they sent was about from a brief "
|
||||
"summary. Reply in a simple string, no formatting is allowed except emojis. Good luck :)"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user