Skip to content

Commit 8428308

Browse files
atulmguptaCopilot
andcommitted
refactor(R2d.125): carve internal/api/aibatthealth subpackage
Move ai_battery_health_handler.go + test (LLM battery-health forecast narrative) into aibatthealth subpkg, rename AIBatteryHealthHandler -> Handler. Distinct from non-AI internal/api/battery subpkg. Router uses aibatthealth.NewHandler; AIHandlers.BatteryHealth field accepts it. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 97dc24e commit 8428308

4 files changed

Lines changed: 439 additions & 43 deletions

File tree

internal/api/aibatthealth/doc.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// Package aibatthealth serves the AI battery-health forecast narrative endpoint.
2+
//
3+
// It owns the LLM narration handler and the read-only forecaster adapter used by
4+
// query_battery_health_forecast while preserving the deterministic battery
5+
// degradation endpoints as the canonical baseline.
6+
//
7+
// Layer: handler
8+
package aibatthealth

0 commit comments

Comments
 (0)