-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chat settings #603
Chat settings #603
Conversation
{referenceSources[source as keyof typeof referenceSources] || new URL(url).host} | ||
<Link className="source-link" to={url} target="_blank" rel="noopener noreferrer"> | ||
{referenceSources[source as keyof typeof referenceSources] || new URL(url).host}{' '} | ||
<LinkIcon width="16" height="16" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this icon will have to be changed, but this will suffice for styling
| 'gpt-4-turbo-preview' | ||
| 'claude-3-opus-20240229' | ||
| 'claude-3-sonnet-20240229' | ||
| 'claude-3-haiku-20240307' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all of these models should work, in case you want a faster/simpler model
|
||
export const shouldRevalidate: ShouldRevalidateFunction = () => false | ||
|
||
export default function App() { | ||
const [params] = useSearchParams() | ||
const [showSettings, setShowSettings] = useState(false) | ||
const [chatSettings, setChatSettings] = useState({mode: 'default'} as ChatSettings) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change this to e.g. {mode: 'default', completions: 'gpt-3.5-turbo'}
if you want to use a different model
bottom: var(--spacing-16); | ||
left: var(--spacing-16); | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aw thanks. Feel free to do the minimum when it comes to CSS
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh, I will :D
No description provided.