@arabold/docs-mcp-server 1.13.0 → 1.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -169,7 +169,7 @@ const FETCHER_BASE_DELAY = 1e3;
169
169
  const SPLITTER_MIN_CHUNK_SIZE = 500;
170
170
  const SPLITTER_PREFERRED_CHUNK_SIZE = 1500;
171
171
  const SPLITTER_MAX_CHUNK_SIZE = 5e3;
172
- const EMBEDDING_BATCH_SIZE = 300;
172
+ const EMBEDDING_BATCH_SIZE = 100;
173
173
  class MimeTypeUtils {
174
174
  /**
175
175
  * Parses a Content-Type header string into its MIME type and charset.
@@ -1528,7 +1528,9 @@ class PipelineManager {
1528
1528
  };
1529
1529
  this.jobMap.set(jobId, job);
1530
1530
  this.jobQueue.push(jobId);
1531
- logger.info(`📝 Job enqueued: ${jobId} for ${library}@${version}`);
1531
+ logger.info(
1532
+ `📝 Job enqueued: ${jobId} for ${library}${version ? `@${version}` : ""}`
1533
+ );
1532
1534
  await this.callbacks.onJobStatusChange?.(job);
1533
1535
  if (this.isRunning) {
1534
1536
  this._processQueue();
@@ -2830,7 +2832,7 @@ class DocumentStore {
2830
2832
  */
2831
2833
  async initializeEmbeddings() {
2832
2834
  const modelSpec = process.env.DOCS_MCP_EMBEDDING_MODEL || "text-embedding-3-small";
2833
- const { createEmbeddingModel } = await import("./EmbeddingFactory-0Z5e_g1J.js");
2835
+ const { createEmbeddingModel } = await import("./EmbeddingFactory-Dz1hdJJe.js");
2834
2836
  this.embeddings = createEmbeddingModel(modelSpec);
2835
2837
  const testVector = await this.embeddings.embedQuery("test");
2836
2838
  this.modelDimension = testVector.length;
@@ -3478,4 +3480,4 @@ export {
3478
3480
  VECTOR_DIMENSION as r,
3479
3481
  setLogLevel as s
3480
3482
  };
3481
- //# sourceMappingURL=DocumentManagementService-BGW9iWNn.js.map
3483
+ //# sourceMappingURL=DocumentManagementService-BZ_ZZgPI.js.map