mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-07 07:55:16 +02:00
* Add tuner integration * bump pipecat version * chore: update pipecat submodule to match upstream and use tuner-pipecat-sdk 0.2.0 Update pipecat submodule from 0.0.109.dev23 to 13e98d0d9 (the exact commit upstream dograh-hq/dograh uses after v1.30.1). This installs pipecat-ai as 1.1.0.post277 via setuptools_scm, satisfying tuner-pipecat-sdk 0.2.0's pipecat-ai>=1.0.0 requirement. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * wire tuner * feat: refactor integrations into self contained packages * chore: simplify ensure_public_access_token * fix: remove NodeSpec and make DTOs the source of truth * feat: send relevant signal to mcp using to_mcp_dict * fix: fix tests * cleanup: remove nango integrations * feat: add agents.md for integrations --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: Abhishek Kumar <abhishek@a6k.me>
21 lines
526 B
Python
21 lines
526 B
Python
from __future__ import annotations
|
|
|
|
import importlib
|
|
import pkgutil
|
|
|
|
_INTERNAL_MODULES = {"base", "loader", "registry"}
|
|
_loaded = False
|
|
|
|
|
|
def ensure_integrations_loaded() -> None:
|
|
global _loaded
|
|
if _loaded:
|
|
return
|
|
|
|
package = importlib.import_module("api.services.integrations")
|
|
for module_info in pkgutil.iter_modules(package.__path__):
|
|
if module_info.name in _INTERNAL_MODULES:
|
|
continue
|
|
importlib.import_module(f"{package.__name__}.{module_info.name}")
|
|
|
|
_loaded = True
|