mirror of
https://github.com/wolfpld/tracy.git
synced 2026-08-26 21:18:22 +00:00
Add embedding model heuristic to not recognized llama API providers.
This commit is contained in:
@@ -78,6 +78,7 @@ bool TracyLlmApi::Connect( const char* url )
|
||||
else if( m_type == Type::Unknown )
|
||||
{
|
||||
m_type = Type::Other;
|
||||
if( id.find( "embed" ) != std::string::npos ) m_models.back().embeddings = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user