Retire automatic glossary companion discovery
This commit is contained in:
@@ -49,18 +49,6 @@ type GlossaryInputError struct{ Err error }
|
||||
func (e *GlossaryInputError) Error() string { return e.Err.Error() }
|
||||
func (e *GlossaryInputError) Unwrap() error { return e.Err }
|
||||
|
||||
const glossaryImports = `config:
|
||||
imports:
|
||||
- path: glossary.yml
|
||||
required: false
|
||||
destination: [glossary_collections]
|
||||
- dir: glossary
|
||||
required: false
|
||||
recursive: true
|
||||
pattern: ["*.yml", "*.yaml"]
|
||||
destination: [glossary_collections]
|
||||
`
|
||||
|
||||
const operatorImports = `config:
|
||||
imports:
|
||||
- path: prompts.yml
|
||||
@@ -155,7 +143,6 @@ func Load(ctx context.Context, input ck.Input, options Options) (*Acquisition, *
|
||||
pk.BundledOpenRouterUnderlay(),
|
||||
{Inputs: embedded},
|
||||
{Inputs: []ck.Input{
|
||||
{Source: ck.Bytes("Audita glossary imports", []byte(glossaryImports)), Imports: true, MainRelative: ck.MainRelative()},
|
||||
{Source: ck.Bytes("Audita automatic prompt imports", []byte(operatorImports)), Destination: ck.Keys("promptkit"), Imports: true, MainRelative: ck.MainRelative()},
|
||||
}},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user