Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion entrypoints/settings/components/DebugSettings/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@
<div class="flex gap-3 text-xs items-center">
<div class="flex flex-col min-w-[250px]">
<span>Content filter threshold</span>
<span class="font-light text-[8px]">(lower value may allow more content, value belows -1 will allow all content)</span>
<span class="font-light text-[8px]">(lower value may allow more content, value belows -1 will allow most of the visible content)</span>
</div>
<Input
v-model.number="contentFilterThreshold"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ const props = defineProps<{
const message = computed(() => {
return {
...props.message,
content: props.message.content.trim(),
reasoning: props.message.reasoning?.trim(),
content: props.message.content.trim().replace(/(<br\s*\/?>)+$/g, '').trim(),
reasoning: props.message.reasoning?.trim().replace(/(<br\s*\/?>)+$/g, '').trim(),
}
})

Expand Down
2 changes: 1 addition & 1 deletion entrypoints/sidepanel/utils/chat/tool-calls/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export const executeFetchPage: AgentToolCallExecute<'fetch_page'> = async ({ par
const contentFilterThreshold = userConfig.documentParser.contentFilterThreshold.get()
const { url } = params
const { t } = await useGlobalI18n()
const taskMsg = taskMessageModifier.addTaskMessage({ summary: makeTaskSummary('page', t('chat.tool_calls.fetch_page.reading'), url, url) })
const taskMsg = taskMessageModifier.addTaskMessage({ summary: makeTaskSummary('page', t('chat.tool_calls.common.reading'), url, url) })
taskMsg.icon = 'taskFetchPage'
const browserSession = agentStorage.getOrSetScopedItem('browserSession', () => new BrowserSession())
await browserSession.navigateTo(url, { newTab: true, active: false, abortSignal })
Expand Down
2 changes: 1 addition & 1 deletion utils/document.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ export async function waitUntilDocumentStable(debounceDelay = 1000, timeout = 10

export async function waitUntilDocumentMaybeLoaded() {
await waitUntilDocumentInteractive()
await waitUntilDocumentStable(1000, 8000)
await waitUntilDocumentStable(2000, 8000)
}
Loading