Cargo Features
[dependencies]
aio-cli = { version = "0.9.0", default-features = false, features = ["local-llm", "openai"] }
- default = local-llm, openai
-
These default features are set whenever
aio-cli
is added without
somewhere in the dependency tree.default-features = false - local-llm default = llama_cpp
-
Affects
config::Config.local
,prompt::Algorithm
,prompt::Parameters.last_n
,prompt::Parameters.top_k
,prompt::Parameters.tail_free
,prompt::Parameters.typical
,prompt::Parameters.min_p
,prompt::Parameters.algorithm
,generators::llama
… - openai default
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.