querymodel

package
v0.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LocationDisplayName

func LocationDisplayName(option LocationOption) string

Types

type DayCoverage

type DayCoverage struct {
	Total          *int64 `json:"total"`
	Day            string `json:"day"`
	Status         string `json:"status"`
	CheckedAtMs    int64  `json:"checkedAt"`
	PendingSources int64  `json:"pendingSources"`
	FailedSources  int64  `json:"failedSources"`
	HasUsage       bool   `json:"hasUsage"`
}

type Filter

type Filter struct {
	Start          time.Time
	End            time.Time
	SessionIDs     []string
	Providers      []string
	Models         []string
	Harnesses      []string
	RepositoryKeys []string
	DirectoryKeys  []string
	DayFrom        string
	DayTo          string
}

type LocationOption

type LocationOption struct {
	Key  string
	Name string
}

type RepoGroup

type RepoGroup string
const (
	RepoGroupRepository RepoGroup = "repository"
	RepoGroupDirectory  RepoGroup = "directory"
)

type SessionCounts

type SessionCounts struct {
	Shown  int64
	Synced int64
}

type SyncStatus

type SyncStatus struct {
	Running  bool
	Revision int64
}

type ViewerSummaryRow

type ViewerSummaryRow struct {
	TotalTokens      int64 `json:"total"`
	InputTokens      int64 `json:"input"`
	OutputTokens     int64 `json:"output"`
	ReasoningTokens  int64 `json:"reasoning"`
	CacheReadTokens  int64 `json:"cacheRead"`
	CacheWriteTokens int64 `json:"cacheWrite"`
	SessionCount     int64 `json:"sessions"`
	SyncedSessions   int64 `json:"syncedSessions"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL