mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-10 08:05:22 +02:00
feat: refactor node spec and add mcp tools (#244)
* refactor: carve out extraction panel * refactor: create spec versions for node types * refactor: create a GenericNode and remove custom nodes * feat: add python and typescript sdk * add dograh sdk * fix: fetch draft workflow definition over published one * fix: fix routes of SDKs to use code gen * chore: remove doclink dependency to reduce image size * chore: format files * chore: bump pipecat * feat: let mcp fetch archived workflows on demand * chore: fix tests * feat: add sdk documentation * chore: change banner and add badge
This commit is contained in:
parent
0a61ef295f
commit
00a1a22b74
162 changed files with 14355 additions and 3554 deletions
|
|
@ -100,6 +100,7 @@ class CustomToolManager:
|
|||
else 16000,
|
||||
queue_frame=self._engine._transport_output.queue_frame,
|
||||
transcript=result.transcript,
|
||||
persist_to_logs=True,
|
||||
)
|
||||
return True
|
||||
else:
|
||||
|
|
@ -110,7 +111,11 @@ class CustomToolManager:
|
|||
custom_message = config.get("customMessage", "")
|
||||
if custom_message:
|
||||
await self._engine.task.queue_frame(
|
||||
TTSSpeakFrame(custom_message, append_to_context=append_to_context)
|
||||
TTSSpeakFrame(
|
||||
custom_message,
|
||||
append_to_context=append_to_context,
|
||||
persist_to_logs=True,
|
||||
)
|
||||
)
|
||||
return True
|
||||
|
||||
|
|
@ -311,6 +316,7 @@ class CustomToolManager:
|
|||
else 16000,
|
||||
queue_frame=self._engine._transport_output.queue_frame,
|
||||
transcript=result.transcript,
|
||||
persist_to_logs=True,
|
||||
)
|
||||
elif custom_message:
|
||||
logger.info(
|
||||
|
|
@ -318,7 +324,11 @@ class CustomToolManager:
|
|||
)
|
||||
self._engine._queued_speech_mute_state = "waiting"
|
||||
await self._engine.task.queue_frame(
|
||||
TTSSpeakFrame(custom_message, append_to_context=False)
|
||||
TTSSpeakFrame(
|
||||
custom_message,
|
||||
append_to_context=False,
|
||||
persist_to_logs=True,
|
||||
)
|
||||
)
|
||||
|
||||
result = await execute_http_tool(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue