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

Function paletteDoc

cli/provider_command_test.go:49–53  ·  view source on GitHub ↗
(line string)

Source from the content-addressed store, hash-verified

47}
48
49func paletteDoc(line string) prompt.Document {
50 b := prompt.NewBuffer()
51 b.InsertText(line, false, true)
52 return *b.Document()
53}
54
55func TestGetProviderSuggestions(t *testing.T) {
56 cli := newProviderTestCLI("OPENAI", []string{"OPENAI", "CLAUDEAI", "XAI"})

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected