mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-01 21:02:12 +03:00
* feat(log): Added new visual scrolling log page * chore(quality): rebaseline sections.ts own-growth for #8354 (logs-timeline sidebar item) * feat(log): direct-link a request from the scrolling timeline Clicking a request bar now sets ?id= on the URL (matching the regular request log page), and the timeline opens the deep-linked request on mount. The open/close handlers arm the same guard so a stale initialSelectedId (router.replace() commits the URL after the render it triggers) can never reopen the modal right after the user closes it. * fix(dashboard): propagate logsTimelineSubtitle across all 43 locales en.json was missing the logsTimelineSubtitle key entirely, breaking the default locale for the new /dashboard/logs/timeline sidebar entry. Add the real English string to en.json, add __MISSING__: placeholders to the 11 locales that lacked the key outright, and convert the 30 locales that had copied the English text literally to the repo's __MISSING__: convention for untranslated strings. Also pause the RequestTimeline 2s poll while the tab is backgrounded (document.visibilityState), matching the existing pattern in RequestLoggerV2 and UsageStats. Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com> * fix(i18n,sidebar): add missing logsTimelineSubtitle + update sidebar tests Address maintainer feedback on #8354: - Add logsTimelineSubtitle key to en.json + 11 locales (ar, az, bg, bn, cs, da, de, es, fa, fi, fr) that were missing it - Add logs-timeline to sidebar-visibility.test.ts expected arrays - Add logs-timeline to sidebar-monitoring-reorg.test.ts logs group - Add compression-exclusions to sidebar-visibility.test.ts (pre-existing) * feat: add touch support for mobile panning and pinch-to-zoom on timeline --------- Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com>
34 lines
862 B
HTTP
34 lines
862 B
HTTP
###
|
|
# @name Log with 502 failure, missing provider request and provider response in UI
|
|
GET {{omniroute-address}}/api/logs/1780945510189-ajcf19
|
|
Authorization: Bearer {{OMNIROUTE_API_KEY}}
|
|
|
|
###
|
|
# @name List call logs
|
|
GET {{omniroute-address}}/api/usage/call-logs?limit=50
|
|
Authorization: Bearer {{OMNIROUTE_API_KEY}}
|
|
|
|
###
|
|
# @name List all models
|
|
GET {{omniroute-address}}/models
|
|
Authorization: Bearer {{OMNIROUTE_API_KEY}}
|
|
Content-Type: application/json
|
|
|
|
###
|
|
# @name Send a standard OpenAI chat request to a model that exist but the endpoint points to a IP that is refusing connection
|
|
POST {{omniroute-address}}/v1/chat/completions
|
|
Authorization: Bearer {{OMNIROUTE_API_KEY}}
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"model": "llamacpp/gemma4-ping:latest",
|
|
"stream": true,
|
|
"messages": [
|
|
{
|
|
"role": "user",
|
|
"content": "Tell me a joke."
|
|
}
|
|
]
|
|
}
|
|
###
|