Form nearest flight searches from route context
CI / test (push) Successful in 1m28s
CI / test (pull_request) Failing after 57s

This commit is contained in:
m
2026-08-25 23:39:08 +03:00
parent 3435de8013
commit 4e5bb9abc9
3 changed files with 24 additions and 8 deletions
-5
View File
@@ -534,10 +534,6 @@ func main() {
}
conversationHistory = append(conversationHistory, recentUserHistory...)
personalMemory := interactiondomain.CompilePersonalMemory(conversationHistory)
// Context selection must stay observable without logging the user's
// message or personal fact values. These flags let an operator distinguish
// a missing derived fact from a later routing or clarification decision.
personalMemoryHasCurrentLocation := personalMemory.CurrentLocation() != ""
if !creativeUserRequest && locationReply == "" {
if continuation := interactiondomain.ContinueLocalSearch(effectiveTaskMessage, conversationHistory); continuation != "" {
continuationMessage = continuation
@@ -654,7 +650,6 @@ func main() {
deterministicSpeechAct := semantic.Interpretation.SpeechAct
deterministicReply := semantic.Reply
routePlan := buildChatRoutePlan(semantic)
log.Printf("chat context state: current_location=%t research_route=%t clarification=%s", personalMemoryHasCurrentLocation, hasChatRoute(routePlan, chatRouteResearch), semantic.Interpretation.Clarification)
cognitiveAttempted := false
cognitiveAvailable := true
semanticInterpretationRequested := shouldRequestSemanticInterpretation(semantic)