Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrApiKeyEmpty error = &err.Err{Op: "config", Err: "APIKey cannot be empty!"} ErrRegionBanned error = &err.Err{Op: "check", Err: "Oh no, your region may be blocked by Anthropic! Please enable a proxy to bypass the block!"} ErrContextNil error = &err.Err{Op: "send", Err: "Context cannot be nil!"} ErrContextNotFound error = &err.Err{Op: "send", Err: "Context not found"} ErrConfigEmpty error = &err.Err{Op: "config", Err: "Configuration cannot be empty!"} ErrSenderNil error = &err.Err{Op: "sender", Err: "Sender cannot be nil!"} ErrPromptHumanEmpty error = &err.Err{Op: "prompt", Err: "The value of human cannot be empty!"} ErrPromptCtxEmpty error = &err.Err{Op: "prompt", Err: "The value of context cannot be empty!"} ErrPromptEmpty error = &err.Err{Op: "send", Err: "The value of prompt cannot be empty!"} )
Functions ¶
This section is empty.
Types ¶
type MessageModule ¶
Click to show internal directories.
Click to hide internal directories.