mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-09-03 12:33:44 +08:00
45515f72df
version: sunnypilot v2026.003.000 (staging)
date: 2026-08-28T17:09:56
master commit: 1dd5a7c91d
12 lines
265 B
Python
12 lines
265 B
Python
import os
|
|
|
|
from openpilot.common.api.base import BaseApi
|
|
|
|
API_HOST = os.getenv('API_HOST', 'https://api.commadotai.com')
|
|
|
|
|
|
class CommaConnectApi(BaseApi):
|
|
def __init__(self, dongle_id):
|
|
super().__init__(dongle_id, API_HOST)
|
|
self.user_agent = "openpilot-"
|