Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeChatWindow ¶
func MakeChatWindow() fyne.CanvasObject
func MakeLogListTab ¶
func MakeLogListTab() fyne.CanvasObject
func MakeRoleWindow ¶
func MakeRoleWindow(win fyne.Window) fyne.CanvasObject
func MakeSettingWindow ¶
func MakeSettingWindow() fyne.CanvasObject
Types ¶
type AppConfig ¶
type AppConfig struct {
Theme string `json:"theme,omitempty"`
GPTType string `json:"gptType"`
AzureApiKey string `json:"azureApiKey"`
AzureEndpoint string `json:"azureEndpoint"`
Model string `json:"model,omitempty"`
OpenaiApiKey string `json:"OPENAI_API_KEY"`
HistoryLimit int `json:"HistoryLimit,omitempty"`
FyneFont string `json:"FYNE_FONT,omitempty"`
HttpsProxy string `json:"HTTPS_PROXY,omitempty"`
HttpTimeout int `json:"HTTP_TIMEOUT,omitempty"`
WindWidth int `json:"windWidth,omitempty"`
WindHeight int `json:"windHeight,omitempty"`
Prompt string `json:"prompt,omitempty"`
}
type PromptItem ¶
Click to show internal directories.
Click to hide internal directories.