cleanup function braces

Signed-off-by: Jared Van Bortel <jared@nomic.ai>
This commit is contained in:
Jared Van Bortel
2024-08-08 15:58:01 -04:00
parent 39f5c53638
commit 05bd6042b6
4 changed files with 13 additions and 8 deletions

View File

@@ -884,7 +884,8 @@ static const EmbModelGroup EMBEDDING_MODEL_SPECS[] {
"multilingual-e5-large-instruct"}},
};
static const EmbModelSpec *getEmbedSpec(const std::string &modelName) {
static const EmbModelSpec *getEmbedSpec(const std::string &modelName)
{
static const auto &specs = EMBEDDING_MODEL_SPECS;
auto it = std::find_if(specs, std::end(specs),
[&modelName](auto &spec) {