feat: prepare agen crates for publication
This commit is contained in:
@@ -6,7 +6,7 @@ license.workspace = true
|
||||
|
||||
[dependencies]
|
||||
arc-swap = "1"
|
||||
llm-engine = { workspace = true }
|
||||
agen = { workspace = true }
|
||||
protocol = { workspace = true }
|
||||
serde = { workspace = true, features = ["derive"] }
|
||||
serde_json = { workspace = true }
|
||||
|
||||
@@ -14,9 +14,9 @@ use std::path::PathBuf;
|
||||
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
// `ModelCapability` は `llm-engine` 側に定義される runtime 構造だが、
|
||||
// `ModelCapability` は `agen` 側に定義される runtime 構造だが、
|
||||
// マニフェストで任意に override できるよう型だけ再エクスポートする。
|
||||
pub use llm_engine::llm_client::capability::{ModelCapability, ReasoningControl, ReasoningEffort};
|
||||
pub use agen::llm_client::capability::{ModelCapability, ReasoningControl, ReasoningEffort};
|
||||
|
||||
/// Worker マニフェストの `[model]` セクション。
|
||||
///
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
use std::path::{Path, PathBuf};
|
||||
|
||||
use crate::{AuthRef, ModelManifest, SchemeKind};
|
||||
use llm_engine::llm_client::capability::ModelCapability;
|
||||
use agen::llm_client::capability::ModelCapability;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
const BUILTIN_PROVIDERS: &str = include_str!("../../../resources/providers/builtin.toml");
|
||||
|
||||
Reference in New Issue
Block a user