Class SwingChatConfig
java.lang.Object
uno.anahata.ai.config.ChatConfig
uno.anahata.ai.swing.SwingChatConfig
A simple, concrete ChatConfig for standalone Swing applications.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class ChatConfig
providers -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ColorgetColor(ChatStatus status) static ColorgetColorForContextUsage(double percentage) Gets the unique identifier for the chat session.getTheme()Gets the list of Java classes containing methods annotated with@AIToolMethod.Methods inherited from class ChatConfig
clearFunctionConfirmation, getApi, getApiInitialDelayMillis, getApiKeyFileName, getApiMaxDelayMillis, getApiMaxRetries, getAutobackupFile, getContextProviders, getFailureTrackerMaxFailures, getFailureTrackerTimeWindowMs, getFunctionConfirmation, getStartupContent, getStartupParts, getWorkingFolder, getWorkingFolder, setFunctionConfirmation
-
Constructor Details
-
SwingChatConfig
public SwingChatConfig()
-
-
Method Details
-
getSessionId
Description copied from class:ChatConfigGets the unique identifier for the chat session.- Specified by:
getSessionIdin classChatConfig- Returns:
- The session ID.
-
getToolClasses
Description copied from class:ChatConfigGets the list of Java classes containing methods annotated with@AIToolMethod. These classes define the tools available to the model.- Overrides:
getToolClassesin classChatConfig- Returns:
- A list of tool classes.
-
getColor
-
getColorForContextUsage
-
getTheme
-
