langgenius/dify · error · Error
KNOWLEDGE_FS_OPENAPI must point to the filtered pinned expor
Error message
KNOWLEDGE_FS_OPENAPI must point to the filtered pinned export
What it means
Error "KNOWLEDGE_FS_OPENAPI must point to the filtered pinned export" thrown in langgenius/dify.
Source
Thrown at packages/contracts/openapi-ts.knowledge-fs.config.ts:6
import { $, defineConfig } from '@hey-api/openapi-ts'
const input = process.env.KNOWLEDGE_FS_OPENAPI
const outputPath = process.env.KNOWLEDGE_FS_OUTPUT ?? 'generated/knowledge-fs'
if (!input) throw new Error('KNOWLEDGE_FS_OPENAPI must point to the filtered pinned export')
export default defineConfig({
input,
logs: {
file: false,
},
output: {
clean: true,
entryFile: false,
fileName: {
suffix: '.gen',
},
path: outputPath,
},
parser: {
patch: {
input: (spec) => {
const paths = spec.paths as Record<string, unknown> | undefinedView on GitHub (pinned to ef8544b173)
When it happens
Trigger: Thrown at packages/contracts/openapi-ts.knowledge-fs.config.ts:6 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of langgenius/dify@ef8544b173 (2026-08-12).
Data as JSON: /api/errors/a614674b147746b3.
Report an issue: GitHub.