mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-27 09:25:06 +01:00
Fix type of excalidraw image response
This commit is contained in:
parent
467de76fc1
commit
3519dd76f0
1 changed files with 1 additions and 1 deletions
|
@ -826,7 +826,7 @@ async def generate_excalidraw_diagram_from_description(
|
||||||
user: KhojUser = None,
|
user: KhojUser = None,
|
||||||
agent: Agent = None,
|
agent: Agent = None,
|
||||||
tracer: dict = {},
|
tracer: dict = {},
|
||||||
) -> str:
|
) -> Dict[str, Any]:
|
||||||
personality_context = (
|
personality_context = (
|
||||||
prompts.personality_context.format(personality=agent.personality) if agent and agent.personality else ""
|
prompts.personality_context.format(personality=agent.personality) if agent and agent.personality else ""
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue