Help us shape the future of Go! Take the 2026 Go Developer Survey

cmd

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildRunQueryParams

func BuildRunQueryParams(f *FilterFlags, isRoot bool, defaultLimit int) langsmith.RunQueryParams

BuildRunQueryParams builds RunQueryParams from FilterFlags.

func NewRootCmd

func NewRootCmd(version string) *cobra.Command

NewRootCmd creates the top-level `langsmith` command.

func ResolveProject

func ResolveProject(flagValue string) string

ResolveProject resolves the project name from flag → env.

Types

type FilterFlags

type FilterFlags struct {
	TraceIDs     string
	Limit        int
	Project      string
	LastNMinutes int
	Since        string
	ErrorFlag    bool
	NoErrorFlag  bool
	Name         string
	RunType      string
	MinLatency   float64
	MaxLatency   float64
	MinTokens    int
	Tags         string
	RawFilter    string
}

FilterFlags holds common filter flag values.

Jump to

Keyboard shortcuts

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