-
Notifications
You must be signed in to change notification settings - Fork 38
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
feat: add code-editor features to prompt fields #58
Conversation
Deploying hollama with Cloudflare Pages
|
{#key knowledge} | ||
<FieldTextEditor {handleSubmit} bind:value={content} /> | ||
{/key} |
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.
Setting a key so the component gets remounted whenever knowledge
changes.
{#key session} | ||
<FieldTextEditor {handleSubmit} bind:value={prompt} /> | ||
{/key} |
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.
Setting a key so the component gets remounted whenever session
changes.
await expect(modelSelect).toContainText(MOCK_API_TAGS_RESPONSE.models[0].name); | ||
await expect(modelSelect).toContainText(MOCK_API_TAGS_RESPONSE.models[1].name); |
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.
Referencing model names from the MOCK_API_TAGS_RESPONSE
so we can update the model names in the future without having to find/replace across all of the tests.
NOTE: There are still some hardcoded instances of model names in test/utils.ts
.
🎉 This PR is included in version 0.2.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Meta + Enter
README.md
with more precise/useful information