mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 00:27:24 +00:00
Expose model and provider to system prompt
This commit is contained in:
5 files changed
+104
-4
No files matched your search
@@ -68,7 +68,7 @@ describe('ModelInput', () => {
|
||||
|
||||
it('accepts modelFilter prop', () => {
|
||||
const onChange = vi.fn();
|
||||
const modelFilter = (model: { modalities?: string[] }) => model.modalities?.includes('image');
|
||||
const modelFilter = (model: { modalities?: string[] }) => model.modalities?.includes('image') ?? false;
|
||||
render(
|
||||
<TestApp>
|
||||
<ModelInput
|
||||
|
||||
Reference in new issue
Block a user