feat: add local model support and examples #373
Annotations
3 errors and 1 warning
Run clippy action:
rig-core/src/providers/local.rs#L63
error: unused variable: `api_key`
--> rig-core/src/providers/local.rs:63:13
|
63 | let api_key = std::env::var("LOCAL_API_KEY").expect("LOCAL_API_KEY not set");
| ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_key`
|
= note: `-D unused-variables` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_variables)]`
|
Run clippy action:
rig-core/src/providers/local.rs#L36
error: you should consider adding a `Default` implementation for `Client`
--> rig-core/src/providers/local.rs:36:5
|
36 | / pub fn new() -> Self {
37 | | Self::from_url("", DEFAULT_API_BASE_URL)
38 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
= note: `-D clippy::new-without-default` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::new_without_default)]`
help: try adding this
|
34 + impl Default for Client {
35 + fn default() -> Self {
36 + Self::new()
37 + }
38 + }
|
|
Run clippy action
Clippy has exited with exit code 101
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading