MCPcopy Create free account
hub / github.com/diillson/chatcli / chatGraphViewEnabled

Function chatGraphViewEnabled

cli/chat_graphview.go:31–38  ·  view source on GitHub ↗

chatGraphViewEnabled reports whether the chat-mode graph exception is on. Default ON when the env var is unset.

()

Source from the content-addressed store, hash-verified

29// chatGraphViewEnabled reports whether the chat-mode graph exception is on.
30// Default ON when the env var is unset.
31func chatGraphViewEnabled() bool {
32 switch strings.ToLower(strings.TrimSpace(os.Getenv(chatGraphViewEnvVar))) {
33 case "false", "0", "off", "no":
34 return false
35 default:
36 return true
37 }
38}
39
40// graphViewToolDefinition is the native tool-use definition offered in the chat
41// decision turn. The parameters mirror the @graphview flat-JSON envelope, so the

Callers 6

showConfigGraphViewMethod · 0.85
configChatGraphViewMethod · 0.85
showConfigChatMethod · 0.85
maybeChatAskTurnMethod · 0.85

Calls

no outgoing calls