Document D&D extractor contract
This commit is contained in:
@@ -174,6 +174,13 @@ func TestExtractorManifestMetadataIncludesLLMSchemaProvenance(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestNilExtractorManifestMetadata(t *testing.T) {
|
||||
var extractor *Extractor
|
||||
if metadata := extractor.ManifestMetadata(); metadata != nil {
|
||||
t.Fatalf("nil extractor metadata = %#v, want nil", metadata)
|
||||
}
|
||||
}
|
||||
|
||||
func TestExtractPassesReferencesAsPromptInputs(t *testing.T) {
|
||||
client := &fakeSpellsLLMClient{response: extractionResponse{SpellCasts: []spellCastResponse{}}}
|
||||
req := extractionRequest()
|
||||
|
||||
Reference in New Issue
Block a user