runtimecfg

package
v0.6.75 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SceneChat = "chat"
	SceneWork = "work"
)

Variables

This section is empty.

Functions

func DetectScene

func DetectScene(sessionKey string) string

func ResolveSceneLLMProfile

func ResolveSceneLLMProfile(
	llmProfiles map[string]config.LLMProfileConfig,
	groupScenes config.GroupScenesConfig,
	sessionKey string,
) (config.LLMProfileConfig, bool)

func ThreadReplyPreferred

func ThreadReplyPreferred(groupScenes config.GroupScenesConfig, sessionKey, chatType string) bool

Types

type SceneLLMProfileSelection added in v0.6.8

type SceneLLMProfileSelection struct {
	Name    string
	Profile config.LLMProfileConfig
}

func ResolveSceneLLMProfileSelection added in v0.6.8

func ResolveSceneLLMProfileSelection(
	llmProfiles map[string]config.LLMProfileConfig,
	groupScenes config.GroupScenesConfig,
	sessionKey string,
) (SceneLLMProfileSelection, bool)

Jump to

Keyboard shortcuts

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