mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-24 15:48:23 +00:00
removing base_model from telemetry
This commit is contained in:
@@ -462,7 +462,7 @@ class Telemetry:
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
def _safe_llm_attributes(self, llm):
|
def _safe_llm_attributes(self, llm):
|
||||||
attributes = ["name", "model_name", "base_url", "model", "top_k", "temperature"]
|
attributes = ["name", "model_name", "model", "top_k", "temperature"]
|
||||||
if llm:
|
if llm:
|
||||||
safe_attributes = {k: v for k, v in vars(llm).items() if k in attributes}
|
safe_attributes = {k: v for k, v in vars(llm).items() if k in attributes}
|
||||||
safe_attributes["class"] = llm.__class__.__name__
|
safe_attributes["class"] = llm.__class__.__name__
|
||||||
|
|||||||
Reference in New Issue
Block a user