Class AdditionalPropertiesHack
java.lang.Object
io.quarkiverse.langchain4j.openai.common.runtime.AdditionalPropertiesHack
This is done because we have no way of passing Quarkus specific properties from a model to a client.
This only works because:
- The creation of beans does not happen in parallel
- The creation of beans happens on the same thread
- Setting up a model builder always precedes setting up a client builder
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
static String
static void
reset()
static void
setConfigName
(String configName) static void
setTlsConfigurationName
(String tlsConfigurationName)
-
Method Details
-
reset
public static void reset() -
setConfigName
-
setTlsConfigurationName
-
getAndClearConfigName
-
getAndClearTlsConfigurationName
-