chore: add copy button

This commit is contained in:
jialin
2024-11-29 17:03:46 +08:00
parent d1a80e1a64
commit 2ddeca8f9d
3 changed files with 41 additions and 7 deletions
@@ -209,7 +209,10 @@ const GroundImages: React.FC<MessageProps> = forwardRef((props, ref) => {
..._.omitBy(finalParameters, (value: string) => !value),
seed: parameters.random_seed ? generateRandomNumber() : parameters.seed,
stream: true,
stream_options: {},
stream_options: {
chunk_size: 16 * 1024,
chunk_results: true
},
prompt: current?.content || currentPrompt || ''
};
setParams({