Documentation
¶
Overview ¶
Package claudecode runs Fabric requests through the Claude Code CLI. The CLI uses the local Claude subscription login, so no API key is necessary.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
*plugins.PluginBase
}
func (*Client) IsConfigured ¶
IsConfigured is true when the claude binary is on PATH.
func (*Client) ListModels ¶
ListModels returns the same model names as the Anthropic vendor.
func (*Client) Send ¶
func (c *Client) Send(ctx context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions) (string, error)
func (*Client) SendStream ¶
func (c *Client) SendStream(ctx context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions, channel chan domain.StreamUpdate) error