mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-22 08:38:13 +02:00
feat: user defined custom tools as part of workflow execution (#94)
* feat: add custom tools functionality * Show tools in nodes * integrate tool calling with pipeline engine
This commit is contained in:
parent
cc2d3e70d2
commit
3e55af9256
65 changed files with 5483 additions and 6673 deletions
18
api/enums.py
18
api/enums.py
|
|
@ -109,3 +109,21 @@ class WebhookCredentialType(Enum):
|
|||
BEARER_TOKEN = "bearer_token" # Bearer token auth
|
||||
BASIC_AUTH = "basic_auth" # Username/password
|
||||
CUSTOM_HEADER = "custom_header" # Custom header key-value
|
||||
|
||||
|
||||
class ToolCategory(Enum):
|
||||
"""Tool category types"""
|
||||
|
||||
HTTP_API = "http_api" # Custom HTTP API calls (implemented)
|
||||
NATIVE = (
|
||||
"native" # Built-in integrations (future: call_transfer, dtmf_input, end_call)
|
||||
)
|
||||
INTEGRATION = "integration" # Third-party integrations (future: Google Calendar, Salesforce, etc.)
|
||||
|
||||
|
||||
class ToolStatus(Enum):
|
||||
"""Tool status values"""
|
||||
|
||||
ACTIVE = "active" # Tool is available for use
|
||||
ARCHIVED = "archived" # Tool is soft-deleted
|
||||
DRAFT = "draft" # Tool is being configured (not ready for use)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue