Update dify_pipeline.py

This commit is contained in:
Artur Zdolinski 2024-10-23 00:02:24 +02:00 committed by GitHub
parent f4fc2f1f07
commit ca35b9df0b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,8 +8,8 @@ import requests, json, warnings
class Pipeline:
def __init__(self):
self.name = "Dify Agent Pipeline"
self.api_url = "http://dify.hostname/v1/workflows/run" # Chane hostname
self.api_key = "app-dify-key" # Replace with actual API key
self.api_url = "http://dify.hostname/v1/workflows/run" # Set correct hostname
self.api_key = "app-dify-key" # Insert your actual API key here.v
self.api_request_stream = True # Dify support stream
self.verify_ssl = True
self.debug = False