Remove Perigon News integration and related SDK components
The Perigon News integration, SDK, and associated tools were removed from the repository. This includes the agent script, API SDK, and OpenAPI definitions for managing news-related operations. The changes simplify the codebase, eliminating unused or outdated dependencies.
This commit is contained in:
@@ -22,7 +22,7 @@ lazy_static! {
|
||||
));
|
||||
}
|
||||
|
||||
pub async fn handle_webhooks(Path(agent_id): Path<String>) -> impl IntoResponse {
|
||||
pub async fn use_agent(Path(agent_id): Path<String>) -> impl IntoResponse {
|
||||
let db = DB.lock().await;
|
||||
match db.get(&agent_id) {
|
||||
Ok(Some(data)) => {
|
||||
@@ -194,7 +194,7 @@ struct WebhookPostResponse {
|
||||
stream_url: String,
|
||||
}
|
||||
|
||||
pub async fn handle_webhooks_post(Json(payload): Json<WebhookPostRequest>) -> impl IntoResponse {
|
||||
pub async fn create_agent(Json(payload): Json<WebhookPostRequest>) -> impl IntoResponse {
|
||||
let db = DB.lock().await;
|
||||
|
||||
tracing::info!("Received webhook post request with ID: {}", payload.id);
|
@@ -1,5 +1,3 @@
|
||||
|
||||
// src/handlers/mod.rs
|
||||
pub mod not_found;
|
||||
pub mod ui;
|
||||
pub mod webhooks;
|
||||
pub mod agents;
|
Reference in New Issue
Block a user