From 5df6b2fa670ed123cfc453165ee77a3578d9e9a5 Mon Sep 17 00:00:00 2001 From: WFH Brian Date: Mon, 28 Oct 2024 17:23:59 -0400 Subject: [PATCH] clean-up smart chunks and add style for new smart chat --- src/smart_env.config.js | 2 -- src/styles.css | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/smart_env.config.js b/src/smart_env.config.js index 0283ec39..77f67097 100644 --- a/src/smart_env.config.js +++ b/src/smart_env.config.js @@ -7,7 +7,6 @@ import { import { SourceAdapter } from "smart-sources/adapters/_adapter.js"; import { MarkdownSourceAdapter } from "smart-sources/adapters/markdown.js"; import { SmartCollectionMultiFileDataAdapter } from "smart-collections/adapters/multi_file"; -import { SmartChunks } from 'smart-chunks/smart_chunks.js'; import { SmartEmbedModel } from "smart-embed-model"; import { SmartEmbedOpenAIAdapter } from "smart-embed-model/adapters/openai.js"; import { SmartEmbedTransformersIframeAdapter } from "smart-embed-model/adapters/transformers_iframe.js"; @@ -65,7 +64,6 @@ export const smart_env_config = { openai: SmartEmbedOpenAIAdapter, }, }, - smart_chunks: SmartChunks, smart_fs: { class: SmartFs, adapter: SmartFsObsidianAdapter, diff --git a/src/styles.css b/src/styles.css index 6d9d504c..f61535f7 100644 --- a/src/styles.css +++ b/src/styles.css @@ -183,6 +183,7 @@ div[data-type^="smart-connections-"] { width: 100%; overflow: hidden; user-select: text; + overflow-y: auto; } .sc-message-container { border: 1px solid var(--divider-color);