From 0129f865daaf76e43313dd6b334a638756760e5f Mon Sep 17 00:00:00 2001 From: Haiping Chen Date: Wed, 24 Jan 2024 17:48:42 -0600 Subject: [PATCH] Optimize StreamingLog --- src/lib/helpers/types.js | 2 + .../[conversationId]/chat-box.svelte | 6 ++- .../agent/[agentId]/agent-overview.svelte | 8 ++- src/routes/page/agent/router/+page.svelte | 22 +++----- .../agent/router/agent-configuration.svelte | 53 ------------------- .../agent/router/router-configuration.svelte | 41 -------------- .../page/agent/router/routing-flow.svelte | 49 ++++++++--------- 7 files changed, 42 insertions(+), 139 deletions(-) delete mode 100644 src/routes/page/agent/router/agent-configuration.svelte delete mode 100644 src/routes/page/agent/router/router-configuration.svelte diff --git a/src/lib/helpers/types.js b/src/lib/helpers/types.js index e5fe9da9..1fbb5787 100644 --- a/src/lib/helpers/types.js +++ b/src/lib/helpers/types.js @@ -103,8 +103,10 @@ * @property {boolean} disabled * @property {boolean} is_public * @property {boolean} is_router + * @property {boolean} is_host * @property {string} icon_url - Icon * @property {boolean} allow_routing + * @property {string[]} profiles - The agent profiles. * @property {Date} created_datetime * @property {Date} updated_datetime * @property {AgentLlmConfig} llm_config - LLM settings. diff --git a/src/routes/chat/[agentId]/[conversationId]/chat-box.svelte b/src/routes/chat/[agentId]/[conversationId]/chat-box.svelte index 7b03b2cf..92df8d33 100644 --- a/src/routes/chat/[agentId]/[conversationId]/chat-box.svelte +++ b/src/routes/chat/[agentId]/[conversationId]/chat-box.svelte @@ -171,19 +171,21 @@