quarkiverse / quarkus-langchain4j

Quarkus Langchain4j extension
https://docs.quarkiverse.io/quarkus-langchain4j/dev/index.html
Apache License 2.0
116 stars 65 forks source link

Ensure our chatobot samples work in environment where a secure connection is required #625

Open iocanel opened 1 month ago

iocanel commented 1 month ago

Tried some samples inside OpeShift and exposed them as routes. The chatbot didn't work as expected as it uses ws and a secure connection was required in this case.

What worked for me is changing the protocol from ws to wss and fallback to ws. if wss is not available.

I think this needs to be applied to all our samples.