Skip to content

feat: configure local embedding cache and mirror#946

Open
wbugitlab1 wants to merge 2 commits into
mainfrom
github-pr/issue-798-local-embedding-cache-hf-71eceb08
Open

feat: configure local embedding cache and mirror#946
wbugitlab1 wants to merge 2 commits into
mainfrom
github-pr/issue-798-local-embedding-cache-hf-71eceb08

Conversation

@wbugitlab1

Copy link
Copy Markdown
Owner

Summary

  • adds AGENTMEMORY_LOCAL_EMBEDDING_MODEL_DIR support for transformers.js local model/cache configuration
  • maps HF_ENDPOINT to transformers.js remoteHost while preserving the local provider's local_files_only behavior
  • updates focused tests, README, .env.example, generated config skill reference, and task notes

Validation

  • corepack pnpm exec vitest run --exclude test/integration.test.ts test/embedding-provider.test.ts
  • corepack pnpm test
  • corepack pnpm run skills:gen -- --check
  • git diff --check
  • semgrep scan --config p/default --error --metrics=off src/providers/transformers.ts test/embedding-provider.test.ts README.md .env.example plugin/skills/agentmemory-config/REFERENCE.md docs/todos/2026-06-17-issue-798-local-embedding-cache-hf/todo.md docs/todos/2026-06-17-issue-798-local-embedding-cache-hf/plan.md
  • gitleaks protect --staged --redact

Closes #798.

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.

[upstream PR 225] feat(embedding): configurable local model, cache dir, and HF mirror | 嵌入模型可配置

1 participant