SIGN IN SIGN UP
danielmiessler / Fabric UNCLAIMED

Fabric is an open-source framework for augmenting humans using AI. It provides a modular system for solving specific problems using a crowdsourced set of AI prompts that can be used anywhere.

0 0 18 Go

fix: parse vendor prefix from model name when vendor is not specified

When users pass a model string like "ollama/llama3", the lookup fails
because no model literally named "ollama/llama3" exists — the model is
stored as "llama3" under the "Ollama" vendor group. This adds fallback
logic to split the first path segment and check if it matches a known
vendor, resolving the "could not find vendor" error for prefixed models.

Fixes #2084

Signed-off-by: majiayu000 <1835304752@qq.com>
M
majiayu000 committed
cb3a0e5aec5d2db5d93191e8cd9dc32db54e7b4f
Parent: dd46185