- Added ContentBlock enum for multimodal content representation (text, image). - Enhanced ChatMessage struct to include media references. - Updated InboundMessage and OutboundMessage to use MediaItem for media handling. - Implemented media download and upload functionality in FeishuChannel. - Modified message processing in the gateway to handle media items. - Improved logging for message processing and media handling in debug mode. - Refactored message serialization for LLM providers to support content blocks.
28 lines
822 B
TOML
28 lines
822 B
TOML
[package]
|
|
name = "picobot"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
reqwest = { version = "0.13.2", default-features = false, features = ["json", "rustls", "multipart"] }
|
|
dotenv = "0.15"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
regex = "1.0"
|
|
serde_json = "1.0"
|
|
async-trait = "0.1"
|
|
thiserror = "2.0.18"
|
|
tokio = { version = "1.0", features = ["full"] }
|
|
uuid = { version = "1.0", features = ["v4"] }
|
|
axum = { version = "0.8", features = ["ws"] }
|
|
tokio-tungstenite = { version = "0.29.0", features = ["rustls-tls-webpki-roots", "rustls"] }
|
|
futures-util = "0.3"
|
|
clap = { version = "4", features = ["derive"] }
|
|
dirs = "6.0.0"
|
|
prost = "0.14"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
|
|
tracing-appender = "0.2"
|
|
anyhow = "1.0"
|
|
mime_guess = "2.0"
|
|
base64 = "0.22"
|