(id: &str)
| 2805 | } |
| 2806 | |
| 2807 | fn provider_state(id: &str) -> ProviderState { |
| 2808 | ProviderState { |
| 2809 | id: id.to_string(), |
| 2810 | name: id.to_string(), |
| 2811 | source: "env".to_string(), |
| 2812 | env: vec![], |
| 2813 | key: None, |
| 2814 | options: HashMap::new(), |
| 2815 | models: HashMap::new(), |
| 2816 | } |
| 2817 | } |
| 2818 | |
| 2819 | #[test] |
| 2820 | fn creates_openai_provider_from_state_key() { |