Skip to content

Commit 5030679

Browse files
authored
Merge pull request #341 from iceljc/features/refine-chat-window
Features/refine chat window
2 parents 5d3e656 + 7b384c8 commit 5030679

File tree

6 files changed

+15
-5
lines changed

6 files changed

+15
-5
lines changed

src/lib/scss/custom/common/_common.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,10 @@ button:focus {
181181
scrollbar-width: thin;
182182
}
183183

184+
.none-scrollbar {
185+
scrollbar-width: none;
186+
}
187+
184188
.scrollable-dropdown {
185189
.dropdown-menu {
186190
max-height: 200px;

src/lib/scss/custom/pages/_agent.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,9 @@
147147
display: flex;
148148
flex-direction: column;
149149
gap: 10px;
150+
max-height: 500px;
151+
overflow-y: auto;
152+
scrollbar-width: thin;
150153

151154
.merge-utility {
152155
display: flex;
@@ -219,6 +222,9 @@
219222
border-top: 1px dotted var(--bs-primary);
220223
margin-top: 10px;
221224
padding-top: 10px;
225+
max-height: 350px;
226+
overflow-y: auto;
227+
scrollbar-width: none;
222228

223229
.utility-list-item {
224230
display: flex;

src/routes/page/agent/[agentId]/agent-components/agent-knowledge-base.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import { KnowledgeCollectionDisplayType } from '$lib/helpers/enums';
66
import { DECIMAL_REGEX } from '$lib/helpers/constants';
77
8-
const limit = 5;
8+
const limit = 100;
99
const confidLowerBound = 0;
1010
const confidUpperBound = 1;
1111

src/routes/page/agent/[agentId]/agent-components/agent-mcp-tool.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import { Card, CardBody, Input, Button } from '@sveltestrap/sveltestrap';
44
import { getServerConfigs } from '$lib/services/mcp-service';
55
6-
const limit = 10;
6+
const limit = 100;
77
88
/** @type {import('$agentTypes').AgentModel} */
99
export let agent;

src/routes/page/agent/[agentId]/agent-components/agent-rule.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
import { Card, CardBody, Input, Button } from '@sveltestrap/sveltestrap';
44
import { getAgentRuleOptions } from '$lib/services/agent-service';
55
6-
const limit = 15;
7-
const textLimit = 100;
6+
const limit = 100;
7+
const textLimit = 200;
88
99
/** @type {import('$agentTypes').AgentModel} */
1010
export let agent;

src/routes/page/agent/[agentId]/agent-components/agent-utility.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import { getAgentUtilityOptions } from '$lib/services/agent-service';
55
import { truncateByPrefix } from '$lib/helpers/utils/common';
66
7-
const limit = 5;
7+
const limit = 100;
88
const prefix = "util-";
99
1010
/** @type {import('$agentTypes').AgentModel} */

0 commit comments

Comments
 (0)