Migrate spell extraction to native execution and semantic continuation

This commit is contained in:
2026-11-22 00:02:13 +00:00
parent 923cbe594f
commit 92c2382806
21 changed files with 563 additions and 654 deletions

View File

@@ -10,7 +10,7 @@ import (
// PrepareChunkExtraction validates common D&D extraction prerequisites and
// prepares owned chunk-scoped source material for prompt inputs.
func PrepareChunkExtraction(ctx context.Context, req contracts.TypedExtractionRequest) (contracts.LLMInputMaterial, error) {
func PrepareChunkExtraction[T any](ctx context.Context, req contracts.TypedExtractionRequest[T]) (contracts.LLMInputMaterial, error) {
if ctx == nil {
return contracts.LLMInputMaterial{}, fmt.Errorf("context must not be nil")
}