-
Notifications
You must be signed in to change notification settings - Fork 69
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
Missing schema descriptions in prod #47
Comments
Are you deploying with Mix releases? Releases strip out docs by default, but you can configure them to be kept with: # mix.exs
def project do
# ...
releases: [
myappname: [
strip_beams: [keep: ["Docs"]]
]
]
end |
Aah, yes I am. Didn't know about that option to keep the docs, thanks! |
Related to #35. |
Solved in the latest release, {:instructor, "~> 0.1.0"} We've migrated to using @llm_doc for this exact reason |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When running in
prod
, I'm getting different results than when running indev
. After digging, it seems that the @doc description from my schema is missing in prod.E.g. in
prod
:Notice that the
description
field is empty, which is not the case when calling the same function indev
.The text was updated successfully, but these errors were encountered: