-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Classloader issue in Qute rendering of prompt templates #436
Labels
bug
Something isn't working
Comments
Thanks for the detailed report! I was not even aware of the template globals. Do you mind attaching your sample so I can play around with it? |
I'll make you a reproducer. |
🙏🏼 |
OK, so, it's worse, it's a hot reload class loader issue.
|
Thanks, I'll probably have a look tomorrow |
geoand
added a commit
that referenced
this issue
Apr 2, 2024
geoand
added a commit
that referenced
this issue
Apr 3, 2024
geoand
added a commit
that referenced
this issue
Apr 4, 2024
Ensure that templates don't cause CL issues during reload
Thanks a lot |
Np!
|
Even better ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have the following prompt:
(Pretty sure the retreiver is unrelated and can be removed)
When I call my service, it fails with:
This is my endpoint:
I believe this is due to Qute Globals not being lazy (which I'll file a bug for) and them being called even for prompts (probably should not happen) and what looks like a ClassLoader issue, because the globals should just work, they do in normal endpoint calls, and in html template rendering.
This is the entity:
And the enum in question:
The text was updated successfully, but these errors were encountered: