rho-coding-agent 1.19.2

A lightweight agent harness inspired by Pi
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use super::*;
use rho_providers::auth::login_dispatch::AuthenticationMethod;

#[test]
fn ollama_cloud_device_login_target_resolves_interactive_method() {
    let target = catalog::login_target_for_provider("ollama-cloud-device")
        .expect("ollama-cloud-device login target");
    assert_eq!(target.auth, "ollama-cloud-device");
    assert_eq!(
        ProviderAuthentication::method(&target.auth).unwrap(),
        AuthenticationMethod::Interactive {
            provider_label: "Ollama Cloud",
        }
    );
    assert!(ProviderAuthentication::supports_device_login(&target.auth));
}