feat: Add RestTemplate bean to OpenRouterConfig

This commit is contained in:
2025-02-15 19:25:32 +03:00
parent b19745a413
commit febb1b5e3c
@@ -15,6 +15,11 @@ public class OpenRouterConfig {
private String url;
private String model;
@Bean
public RestTemplate restTemplate() {
return new RestTemplate();
}
public String getKey() {
return key;
}