mirror of https://github.com/aliasrobotics/cai.git
Support pricing in alias0
This commit is contained in:
parent
cde27c8ea1
commit
caf0e054d7
|
|
@ -279,6 +279,7 @@ class CostTracker:
|
|||
# Check if this is a local/free model
|
||||
model_str = model_name.lower()
|
||||
is_local_model = (
|
||||
"alias" not in model_str and
|
||||
"ollama" in model_str or
|
||||
"qwen" in model_str or
|
||||
"llama" in model_str or
|
||||
|
|
@ -382,6 +383,7 @@ class CostTracker:
|
|||
# Check if this is a local model (always free) first
|
||||
model_str = model_name.lower()
|
||||
is_local_model = (
|
||||
"alias" not in model_str and
|
||||
"ollama" in model_str or
|
||||
"qwen" in model_str or
|
||||
"llama" in model_str or
|
||||
|
|
|
|||
Loading…
Reference in New Issue