Skip to content

修复 BM25 算法计算得分超过 1 导致记忆相似度计算错误的问题 #1523

修复 BM25 算法计算得分超过 1 导致记忆相似度计算错误的问题

修复 BM25 算法计算得分超过 1 导致记忆相似度计算错误的问题 #1523

Triggered via pull request January 1, 2025 09:34
Status Failure
Total duration 7m 36s
Artifacts 1

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 14 warnings
lint: packages/long-memory/src/similarity.ts#L220
Insert `⏎············`
lint
Process completed with exit code 1.
prepare
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint: packages/core/src/llm-core/agent/agent.ts#L199
Class Property name `lc_namespace` must match one of the following formats: camelCase, UPPER_CASE, PascalCase
lint: packages/core/src/llm-core/agent/agent.ts#L283
Class Property name `lc_namespace` must match one of the following formats: camelCase, UPPER_CASE, PascalCase
lint: packages/core/src/llm-core/agent/executor.ts#L53
Class Property name `lc_namespace` must match one of the following formats: camelCase, UPPER_CASE, PascalCase
lint: packages/core/src/llm-core/agent/executor.ts#L355
Class Method name `lc_name` must match one of the following formats: camelCase, UPPER_CASE, PascalCase
lint: packages/core/src/llm-core/agent/executor.ts#L359
Classic Accessor name `lc_namespace` must match one of the following formats: camelCase, UPPER_CASE, PascalCase
lint: packages/core/src/llm-core/chain/base.ts#L86
Classic Accessor name `lc_namespace` must match one of the following formats: camelCase, UPPER_CASE, PascalCase
lint: packages/core/src/llm-core/chain/base.ts#L137
Variable name `callbackManager_` must match one of the following formats: camelCase, UPPER_CASE, PascalCase
lint: packages/core/src/llm-core/memory/langchain/buffer_memory.ts#L33
This line has a length of 264. Maximum allowed is 160
lint: packages/core/src/middlewares/list_room.ts#L27
Variable name `all_room` must match one of the following formats: camelCase, UPPER_CASE, PascalCase
lint: packages/long-memory/src/similarity.ts#L2
Import name `TinySegmenter` must match one of the following formats: camelCase, UPPER_CASE
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "packages". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
packages
4.15 MB