Skip to content

refactor(adapter-dify): improve history handling and code formatting

62beeeb
Select commit
Loading
Failed to load commit list.
Merged

[Feature] Support Dify image uploads with data URL normalizatio #653

refactor(adapter-dify): improve history handling and code formatting
62beeeb
Select commit
Loading
Failed to load commit list.
codefactor.io / CodeFactor failed Dec 14, 2025 in 30s

16 issues found. Autofix available.

Annotations

Check warning on line 81 in packages/core/src/llm-core/chain/base.ts

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

packages/core/src/llm-core/chain/base.ts#L81

Insert `····` (prettier/prettier)

Check warning on line 274 in packages/core/src/llm-core/chain/base.ts

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

packages/core/src/llm-core/chain/base.ts#L274

Insert `····` (prettier/prettier)

Check warning on line 943 in packages/adapter-dify/src/requester.ts

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

packages/adapter-dify/src/requester.ts#L943

Delete `)` (prettier/prettier)

Check warning on line 213 in scripts/processDynamicImport.ts

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

scripts/processDynamicImport.ts#L213

Replace `stat.isFile()·&&·file.endsWith('.ts')·&&·!file.endsWith('.d.ts')` with `⏎················stat.isFile()·&&⏎················file.endsWith('.ts')·&&⏎················!file.endsWith('.d.ts')⏎············` (prettier/prettier)

Check warning on line 484 in packages/adapter-dify/src/requester.ts

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

packages/adapter-dify/src/requester.ts#L484

Replace `(candidate.type·??·'file')` with `candidate.type·??·'file'` (prettier/prettier)

Check warning on line 215 in packages/service-vector-store/src/vectorstore/base/milvus.ts

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

packages/service-vector-store/src/vectorstore/base/milvus.ts#L215

Insert `⏎···` (prettier/prettier)

Check warning on line 86 in packages/service-vector-store/src/vectorstore/base/redis.ts

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

packages/service-vector-store/src/vectorstore/base/redis.ts#L86

Insert `⏎···` (prettier/prettier)

Check warning on line 331 in packages/service-vector-store/src/vectorstore/base/lunavdb.ts

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

packages/service-vector-store/src/vectorstore/base/lunavdb.ts#L331

Insert `⏎···` (prettier/prettier)

Check warning on line 80 in packages/core/src/llm-core/chain/base.ts

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

packages/core/src/llm-core/chain/base.ts#L80

Replace `····` with `········` (prettier/prettier)

Check warning on line 79 in packages/core/src/llm-core/chain/base.ts

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

packages/core/src/llm-core/chain/base.ts#L79

Insert `····` (prettier/prettier)

Check warning on line 76 in packages/service-vector-store/src/vectorstore/base/faiss.ts

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

packages/service-vector-store/src/vectorstore/base/faiss.ts#L76

Insert `⏎···` (prettier/prettier)

Check warning on line 276 in packages/core/src/llm-core/chain/base.ts

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

packages/core/src/llm-core/chain/base.ts#L276

Insert `····` (prettier/prettier)

Check warning on line 942 in packages/adapter-dify/src/requester.ts

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

packages/adapter-dify/src/requester.ts#L942

Delete `(` (prettier/prettier)

Check warning on line 25 in packages/extension-long-memory/src/utils/layer.ts

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

packages/extension-long-memory/src/utils/layer.ts#L25

Replace `·` with `⏎` (prettier/prettier)

Check warning on line 275 in packages/core/src/llm-core/chain/base.ts

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

packages/core/src/llm-core/chain/base.ts#L275

Replace `····` with `········` (prettier/prettier)

Check warning on line 95 in packages/core/src/llm-core/platform/api.ts

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

packages/core/src/llm-core/platform/api.ts#L95

Replace `·` with `⏎` (prettier/prettier)