Skip to content

Commit

Permalink
fix min chunk and fix embedding freeze
Browse files Browse the repository at this point in the history
  • Loading branch information
rjmacarthy committed Dec 18, 2024
1 parent e6473df commit 3f57f22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/webview/embedding-options.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const EmbeddingOptions = () => {
const { context: maxChunkSize = "500", setContext: setMaxChunkSize } =
useGlobalContext<string>(EXTENSION_CONTEXT_NAME.twinnyMaxChunkSize)

const { context: minChunkSize = "50", setContext: setMinChunkSize } =
const { context: minChunkSize = "200", setContext: setMinChunkSize } =
useGlobalContext<string>(EXTENSION_CONTEXT_NAME.twinnyMinChunkSize)

const { context: overlap = "20", setContext: setOverlap } =
Expand Down Expand Up @@ -142,7 +142,7 @@ export const EmbeddingOptions = () => {
</div>
<div>
<div>
{t("max-chunk-size")}
{t("min-chunk-size")}
</div>
<VSCodeTextField
value={minChunkSize}
Expand Down
2 changes: 0 additions & 2 deletions src/webview/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -663,8 +663,6 @@ export const useSymmetryConnection = () => {
EXTENSION_SESSION_NAME.twinnySymmetryConnection
)

console.log(symmetryConnectionSession)

const {
context: symmetryProviderStatus,
setContext: setSymmetryProviderStatus
Expand Down

0 comments on commit 3f57f22

Please sign in to comment.