feat: add local model support and examples #373
ci.yaml
on: pull_request
stable / fmt
15s
stable / clippy
40s
stable / test
1m 31s
stable / doc
54s
stable / publish dry-run
5m 32s
Annotations
10 errors and 6 warnings
stable / fmt
Process completed with exit code 1.
|
unused variable: `api_key`:
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)]`
|
you should consider adding a `Default` implementation for `Client`:
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 + }
|
|
stable / clippy
Clippy has exited with exit code 101
|
stable / doc:
rig-core/src/providers/local.rs#L63
unused variable: `api_key`
|
stable / doc
Process completed with exit code 101.
|
stable / test:
rig-core/src/providers/local.rs#L63
unused variable: `api_key`
|
stable / test
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
|
stable / publish dry-run
unused variable: `api_key`
|
stable / publish dry-run
Process completed with exit code 124.
|
stable / fmt
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
stable / fmt:
rig-core/src/providers/local.rs#L280
Diff in /home/runner/work/rig/rig/rig-core/src/providers/local.rs
|
stable / clippy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
stable / doc
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
stable / test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
stable / publish dry-run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|