Co-authored-by: Clément Drouin <clement.drouin@mistral.ai>
Co-authored-by: Kim-Adeline Miguel <51720070+kimadeline@users.noreply.github.com>
Co-authored-by: Mathias Gesbert <mathias.gesbert@mistral.ai>
Co-authored-by: allansimon-mistral <allan.simon@ext.mistral.ai>
Co-authored-by: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
Clément Sirieix 2026-05-07 13:55:56 +02:00 committed by GitHub
parent 4972dd5694
commit b23f49e5f4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
74 changed files with 2342 additions and 240 deletions

View file

@ -53,6 +53,7 @@ def get_base_config() -> dict[str, Any]:
}
],
"enable_auto_update": False,
"enable_telemetry": False,
}
@ -174,7 +175,8 @@ def telemetry_events(monkeypatch: pytest.MonkeyPatch) -> list[dict[str, Any]]:
*,
correlation_id: str | None = None,
) -> None:
event: dict[str, Any] = {"event_name": event_name, "properties": properties}
merged = self.build_client_event_metadata() | properties
event: dict[str, Any] = {"event_name": event_name, "properties": merged}
if correlation_id is not None:
event["correlation_id"] = correlation_id
events.append(event)