Documentation ¶
Index ¶
Constants ¶
View Source
const ( ChatGPTHost = "chat.openai.com" DefaultUserAgent = "Mozilla/5.0 (Windows NT 10.0; rv:107.0) Gecko/20100101 Firefox/107.0" SessionTokenCookie = "__Secure-next-auth.session-token" CloudflareTokenCookie = "cf_clearance" CloudflareBmCookie = "__cf_bm" CallbackURLCookie = "__Secure-next-auth.callback-url" )
Variables ¶
View Source
var ErrNoCode = errors.New("no code generated")
Functions ¶
This section is empty.
Types ¶
type AIACClientInput ¶
type Client ¶
type Client struct { *requests.HTTPClient // contains filtered or unexported fields }
func NewClient ¶
func NewClient(input *AIACClientInput) *Client
Click to show internal directories.
Click to hide internal directories.