fix
This commit is contained in:
@@ -602,6 +602,10 @@ func (p *Pipeline) ProcessJob(ctx context.Context, jobID uuid.UUID) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Log before AI resolve so a hung provider lookup still leaves a start line.
|
||||
log.Printf("processing: start job=%s company=%s type=%s prior_processed=%d",
|
||||
jobID, companyID, processingType, alreadyProcessed)
|
||||
|
||||
modeLabel := AIProviderInternal
|
||||
usingBYOK := false
|
||||
jobEngine := p.Engine
|
||||
@@ -625,9 +629,7 @@ func (p *Pipeline) ProcessJob(ctx context.Context, jobID uuid.UUID) error {
|
||||
} else if label := jobEngine.EngineProviderMode(); label != "" {
|
||||
modeLabel = label
|
||||
}
|
||||
|
||||
log.Printf("processing: start job=%s company=%s type=%s mode=%s prior_processed=%d",
|
||||
jobID, companyID, processingType, modeLabel, alreadyProcessed)
|
||||
log.Printf("processing: provider job=%s mode=%s byok=%v", jobID, modeLabel, usingBYOK)
|
||||
|
||||
progress := InitialStepProgress(processingType)
|
||||
if len(progress) > 0 {
|
||||
|
||||
Reference in New Issue
Block a user