Skip to content

Conversation

mcowger
Copy link
Contributor

@mcowger mcowger commented Aug 31, 2025

Context

Added console.error logging to capture errors in Gemini, Mistral, OpenAI, and OpenAI-compatible embedders during
validation and embedding creation. This improves error visibility and debugging capabilities.

fix(scanner): improve batch processing logging and fix typo

Added detailed console.debug logging throughout the DirectoryScanner batch processing workflow to improve observability. Also fixed a typo in a translation key from "embeddings:scanner.unknownErrorDeletingPoints" to "embed0dings:scanner.unknownErrorDeletingPoints".

Why? Because its impossible right now to tell if your indexer/embedding config is correct by looking at the logs, abd the thrown errors get swallowed.

Get in Touch

mcowger

…g methods

Added console.error logging to capture errors in Gemini, Mistral, OpenAI, and OpenAI-compatible embedders during validation and embedding creation. This improves error visibility and debugging capabilities.

fix(scanner): improve batch processing logging and fix typo

Added detailed console.debug logging throughout the DirectoryScanner batch processing workflow to improve observability. Also fixed a typo in a translation key from "embeddings:scanner.unknownErrorDeletingPoints" to "embed0dings:scanner.unknownErrorDeletingPoints".
Copy link

changeset-bot bot commented Aug 31, 2025

⚠️ No Changeset found

Latest commit: 7aa9854

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@@ -305,7 +305,7 @@ export class DirectoryScanner implements IDirectoryScanner {
`${error.message} (Workspace: ${scanWorkspace}, File: ${cachedFilePath})`,
)
: new Error(
t("embeddings:scanner.unknownErrorDeletingPoints", {
t("embed0dings:scanner.unknownErrorDeletingPoints", {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure this change is correct?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants