You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3e6735b
Browse filesBrowse the repository at this point in the historyBrowse files
fix(models): accept local ollama models in fallback rows like the model field
Editing validation accepted an installed Ollama model (an unclaimed
Ollama-shaped name where Ollama is reachable) in a block's model field but
still rejected the same name in its fallback rows, although the fallback
picker offers it and execution runs it on Ollama. Writing back a workflow
saved with such a fallback through the workflow-state API failed outright,
and editing or re-sending the rows failed through mothership edits and
workflow-as-code. Both sites now ask one isRunnableModelId predicate.
Also tidies follow-ups from the same changes: the MODEL_OPTION_SOURCES note
no longer cites bare Ollama names, the browser-only Ollama check in
blocks/utils is renamed so it no longer shares a name with the server's
isOllamaAvailable, the model combobox uses DEFAULT_BLOCK_MODEL instead of
its own copy, and two comments are reflowed.
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/combobox/combobox.tsx
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -19,13 +19,13 @@ import { useAccessibleReferencePrefixes } from '@/app/workspace/[workspaceId]/w/
0 commit comments