feat: summarize rss messages to feishu group #1

Merged
Ecss merged 6 commits from develop into main 2026-01-13 15:04:21 +08:00
9 changed files with 11 additions and 14 deletions
Showing only changes of commit 1ebccef389 - Show all commits

View File

@@ -1,2 +1,2 @@
pub mod summary;
pub mod feishu; pub mod feishu;
pub mod summary;

View File

@@ -1,7 +1,7 @@
mod api; mod api;
mod config; mod config;
mod models;
mod controls; mod controls;
mod models;
#[tokio::main] #[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> { async fn main() -> Result<(), Box<dyn std::error::Error>> {

View File

@@ -1,3 +1,3 @@
pub mod feishu;
pub mod silicon_cloud; pub mod silicon_cloud;
pub mod summary; pub mod summary;
pub mod feishu;

View File

@@ -7,7 +7,7 @@ pub struct Content {
pub struct ModelResponse { pub struct ModelResponse {
pub id: String, pub id: String,
pub content: Vec<Content>, pub content: Vec<Content>,
pub model: String pub model: String,
} }
impl ModelResponse { impl ModelResponse {

View File

@@ -5,9 +5,6 @@ pub struct Summary {
impl Summary { impl Summary {
pub fn new(name: String, description: String) -> Self { pub fn new(name: String, description: String) -> Self {
Self { Self { name, description }
name,
description,
}
} }
} }