Skip to content
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

Merged
merged 2 commits into from
Apr 30, 2024
Merged

Chat settings #603

merged 2 commits into from
Apr 30, 2024

Conversation

mruwnik
Copy link
Collaborator

@mruwnik mruwnik commented Apr 30, 2024

No description provided.

{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" />
Copy link
Collaborator Author

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'
Copy link
Collaborator Author

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)
Copy link
Collaborator Author

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);
}

Copy link
Contributor

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, I will :D

@melissasamworth melissasamworth merged commit 37d404d into stampy-redesign Apr 30, 2024
1 check passed
@melissasamworth melissasamworth deleted the chat-fixes branch April 30, 2024 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants