Skip to content

Commit

Permalink
feat: fixed issue #126 and #54 (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
askayastha22 authored Nov 28, 2023
1 parent 94929bf commit 2b4441a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions web-src/src/components/PromptResultCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ export function PromptResultCard({ result, ...props }) {
onPress={() => {
sampleRUM('genai:prompt:copy', { source: 'ResultCard#onPress' });
navigator.clipboard.write(toClipboard(toHTML(selectedVariant.content)));
ToastQueue.positive('Copied to clipboard', { timeout: 1000 });
}}>
<CopyOutlineIcon />
</ActionButton>
Expand Down
2 changes: 1 addition & 1 deletion web-src/src/components/TemperatureSlider.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
} from '../state/TemperatureState.js';
import { DescriptionLabel } from './DescriptionLabel.js';

const TEMPERATURE_DESC = 'A higher temperature strays from the prompt and leads to more randomness and creativity from the LLM';
const TEMPERATURE_DESC = 'A higher temperature strays from the prompt and leads to more randomness and creativity';

export function TemperatureSlider() {
const [temperature, setTemperature] = useRecoilState(temperatureState);
Expand Down

0 comments on commit 2b4441a

Please sign in to comment.