Docs.rs
otherone-context-0.1.2
otherone-context 0.1.2
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
wuyoujae
Dependencies
anyhow ^1
normal
async-trait ^0.1
normal
otherone-ai ^0.1.2
normal
otherone-storage ^0.1.2
normal
serde ^1
normal
serde_json ^1
normal
thiserror ^2
normal
tracing ^0.1
normal
Versions
54.29%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Crate otherone_context
otherone_
context
0.1.2
All Items
Crate Items
Modules
Functions
Crate
otherone_
context
Copy item path
Source
Modules
§
compact
error
types
Functions
§
combine_
context
组合 context 配置 作用:根据 session_id 和 load_type 加载历史消息,检查 token 阈值并触发压缩 关联:被 agent loop 调用 预期结果:返回 messages 数组(包含 system prompt),供 AI 调用使用