(20250123) Bug fix in LLM invocation.

This commit is contained in:
2025-01-23 10:32:09 +05:30
parent ff037e596e
commit 816789fce5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
)
+1 -1
View File
@@ -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 :)"
)