Add telemetry for agents used in conversation, increase image width in agents page

This commit is contained in:
sabaimran
2024-03-28 22:18:11 +05:30
parent d503b3e867
commit a1729b9b9e
2 changed files with 5 additions and 4 deletions

View File

@@ -69,7 +69,7 @@
}
.agent-info p {
height: 50px; /* Adjust this value as needed */
height: 50px;
overflow: auto;
margin: 0px;
}
@@ -84,8 +84,8 @@
}
div.agent img {
width: 50px;
height: 50px;
width: 78px;
height: 78px;
border-radius: 50%;
object-fit: cover;
}
@@ -159,7 +159,7 @@
background-color: var(--frosted-background-color);
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
border-radius: 8px;
width: 50%;
width: 75%;
margin-right: auto;
margin-left: auto;
}

View File

@@ -401,6 +401,7 @@ async def chat(
cmd_set = set([cmd.value for cmd in conversation_commands])
chat_metadata["conversation_command"] = cmd_set
chat_metadata["agent"] = conversation.agent.slug if conversation.agent else None
update_telemetry_state(
request=request,