feat: start provider ingestion and orchestration coordination
This commit is contained in:
@@ -245,6 +245,15 @@ func main() {
|
||||
}
|
||||
}()
|
||||
}
|
||||
if path := os.Getenv("ORCHESTRA_JSONL"); path != "" {
|
||||
go func() {
|
||||
ctx := context.Background()
|
||||
err := (provider.JSONLWatcher{Path: path, Interval: time.Second, Provider: provider.JSONL{Source: "jsonl"}}).Run(ctx, s)
|
||||
if err != nil {
|
||||
log.Printf("jsonl provider: %v", err)
|
||||
}
|
||||
}()
|
||||
}
|
||||
port := os.Getenv("ORCHESTRA_PORT")
|
||||
if port == "" {
|
||||
port = "9145"
|
||||
|
||||
Reference in New Issue
Block a user