This repository has been archived on 2026-05-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
shelter-plugins/plugins/gpt-unslothed/settings.jsx
2026-05-18 21:44:35 +03:00

28 lines
565 B
JavaScript

const {
plugin: { store },
ui: { TextBox, Text },
} = shelter;
export default () => (
<>
<Text>Unsloth Studio URL</Text>
<TextBox
placeholder="http://127.0.0.1:8888"
value={store.unslothUrl}
onInput={(value) => {
store.unslothUrl = value;
}}
/>
<div className="mb-2 mt-2">
<Text>Unsloth API Key (optional)</Text>
<TextBox
placeholder="sk-unsloth-..."
value={store.unslothKey}
onInput={(value) => {
store.unslothKey = value;
}}
/>
</div>
</>
);