fix: Added authentication to FireCrawl API, remove unused RobinAI references (#10737)
- Fixed Firecrawl webhook payloads to ensure proper data handling and delivery. - Removed unused Robin AI code to improve codebase cleanliness and maintainability. - Implement authentication for the Firecrawl endpoint to improve security. A key is generated to secure the webhook URLs from FireCrawl. --------- Co-authored-by: Pranav <pranavrajs@gmail.com>
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
json.array! @response_sources do |response_source|
|
||||
json.partial! 'api/v1/models/response_source', formats: [:json], resource: response_source
|
||||
end
|
||||
@@ -1 +0,0 @@
|
||||
json.partial! 'api/v1/models/response_source', formats: [:json], resource: @response_source
|
||||
@@ -1 +0,0 @@
|
||||
json.partial! 'api/v1/models/response_source', formats: [:json], resource: @response_source
|
||||
@@ -1 +0,0 @@
|
||||
json.partial! 'api/v1/models/response_source', formats: [:json], resource: @response_source
|
||||
@@ -1,15 +0,0 @@
|
||||
json.id resource.id
|
||||
json.name resource.name
|
||||
json.source_link resource.source_link
|
||||
json.source_type resource.source_type
|
||||
json.account_id resource.account_id
|
||||
json.created_at resource.created_at.to_i
|
||||
json.updated_at resource.updated_at.to_i
|
||||
json.response_documents do
|
||||
json.array! resource.response_documents do |response_document|
|
||||
json.id response_document.id
|
||||
json.document_link response_document.document_link
|
||||
json.created_at response_document.created_at.to_i
|
||||
json.updated_at response_document.updated_at.to_i
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user