Skip to content

Commit 200bf8f

Browse files
DouDOU-startclaude
andcommitted
fix(plugin): record host forward endpoint
Persist plugin-forwarded request paths in usage logs so Playground traffic reports the actual proxied endpoint. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 07764fb commit 200bf8f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

backend/internal/plugin/host_service.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -901,6 +901,7 @@ func (h *HostService) recordHostForwardUsage(
901901
AccountRateMultiplier: calc.AccountRateMultiplier,
902902
ServiceTier: usage.ServiceTier,
903903
ImageSize: usage.ImageSize,
904+
Endpoint: req.Path,
904905
Stream: req.Stream,
905906
DurationMs: duration.Milliseconds(),
906907
FirstTokenMs: usage.FirstTokenMs,

0 commit comments

Comments
 (0)