forked from Sanders/TelegaBot
feat: Add RestTemplate bean to OpenRouterConfig
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user