feat: summarize rss messages to feishu group #1
@@ -1,2 +1,2 @@
|
||||
pub mod summary;
|
||||
pub mod feishu;
|
||||
pub mod summary;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
mod api;
|
||||
mod config;
|
||||
mod models;
|
||||
mod controls;
|
||||
mod models;
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
pub mod feishu;
|
||||
pub mod silicon_cloud;
|
||||
pub mod summary;
|
||||
pub mod feishu;
|
||||
@@ -7,7 +7,7 @@ pub struct Content {
|
||||
pub struct ModelResponse {
|
||||
pub id: String,
|
||||
pub content: Vec<Content>,
|
||||
pub model: String
|
||||
pub model: String,
|
||||
}
|
||||
|
||||
impl ModelResponse {
|
||||
|
||||
@@ -5,9 +5,6 @@ pub struct Summary {
|
||||
|
||||
impl Summary {
|
||||
pub fn new(name: String, description: String) -> Self {
|
||||
Self {
|
||||
name,
|
||||
description,
|
||||
}
|
||||
Self { name, description }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user