### What problem does this PR solve? feat: Hide the upload button in the external agent's chat box #1880 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
18 lines
370 B
TypeScript
18 lines
370 B
TypeScript
export enum MessageType {
|
|
Assistant = 'assistant',
|
|
User = 'user',
|
|
}
|
|
|
|
export const variableEnabledFieldMap = {
|
|
temperatureEnabled: 'temperature',
|
|
topPEnabled: 'top_p',
|
|
presencePenaltyEnabled: 'presence_penalty',
|
|
frequencyPenaltyEnabled: 'frequency_penalty',
|
|
maxTokensEnabled: 'max_tokens',
|
|
};
|
|
|
|
export enum SharedFrom {
|
|
Agent = 'agent',
|
|
Chat = 'chat',
|
|
}
|