authwarning

package
v0.82.2 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const AnthropicSubscriptionAuthWarning = "" /* 197-byte string literal not displayed */

Variables

This section is empty.

Functions

func IsAnthropicSubscriptionAuthKey

func IsAnthropicSubscriptionAuthKey(apiKey string) bool

func ShouldWarn

func ShouldWarn(modelProvider string, options Options) bool

Types

type Options

type Options struct {
	Shown                bool
	AnthropicExtraUsage  *bool
	HasOAuthCredential   func(provider string) bool
	GetAPIKeyForProvider func(provider string) (string, bool)
}

Jump to

Keyboard shortcuts

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