Thrid commit
This commit is contained in:
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
@@ -1,20 +1,31 @@
|
||||
package com.homme.demo;
|
||||
|
||||
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
import jakarta.annotation.PostConstruct;
|
||||
|
||||
|
||||
|
||||
|
||||
@SpringBootApplication
|
||||
public class HommeApplication {
|
||||
|
||||
|
||||
|
||||
@Value("${azure.mistral.api-key}")
|
||||
private String azureApiKey;
|
||||
public static void main(String[] args) {
|
||||
System.out.println("Main hömme");
|
||||
SpringApplication.run(HommeApplication.class, args);
|
||||
|
||||
}
|
||||
|
||||
@PostConstruct
|
||||
public void printApiKey() {
|
||||
System.out.println("API-KEY ="+azureApiKey);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user