完善 Rust SDK:中文化文档和注释,添加多个测试示例
- 翻译所有文档和注释为中文(README.md, CHANGELOG.md, API文档等) - 修复 reqwest TLS 支持问题,添加 rustls-tls 功能 - 新增5个测试示例: * health_check.rs - 基础健康检查 * llm_chat_test.rs - LLM聊天功能测试 * midjourney_image_test.rs - Midjourney图像生成测试 * file_upload_test.rs - 文件上传和媒体分析测试 * comprehensive_test.rs - 综合功能测试 - 添加测试脚本(PowerShell和Bash版本) - 验证API功能正常:LLM聊天、图像生成、健康检查等
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
[package]
|
||||
name = "text_video_agent_client"
|
||||
version = "1.0.6"
|
||||
authors = ["OpenAPI Generator team and contributors"]
|
||||
description = "Rust client for Text Video Agent API - A comprehensive AI content generation service supporting image generation, video generation, audio synthesis, lip sync, digital human creation, and LLM inference"
|
||||
keywords = ["api", "client", "video", "ai", "generation"]
|
||||
authors = ["OpenAPI Generator 团队和贡献者"]
|
||||
description = "文本视频智能体 API 的 Rust 客户端 - 一个全面的 AI 内容生成服务,支持图像生成、视频生成、音频合成、唇形同步、数字人创建和大语言模型推理"
|
||||
keywords = ["api", "client", "video", "ai", "generation", "中文", "智能体"]
|
||||
categories = ["api-bindings", "multimedia", "web-programming::http-client"]
|
||||
license = "MIT OR Apache-2.0"
|
||||
edition = "2021"
|
||||
@@ -13,7 +13,7 @@ documentation = "https://docs.rs/text_video_agent_client"
|
||||
readme = "README.md"
|
||||
|
||||
[workspace]
|
||||
# This is a standalone package, not part of a workspace
|
||||
# 这是一个独立的包,不是工作空间的一部分
|
||||
|
||||
[dependencies]
|
||||
serde = { version = "^1.0", features = ["derive"] }
|
||||
@@ -21,7 +21,7 @@ serde_with = { version = "^3.8", default-features = false, features = ["base64",
|
||||
serde_json = "^1.0"
|
||||
serde_repr = "^0.1"
|
||||
url = "^2.5"
|
||||
reqwest = { version = "^0.12", default-features = false, features = ["json", "multipart"] }
|
||||
reqwest = { version = "^0.12", default-features = false, features = ["json", "multipart", "rustls-tls"] }
|
||||
|
||||
[dev-dependencies]
|
||||
tokio = { version = "1.0", features = ["full"] }
|
||||
|
||||
Reference in New Issue
Block a user