Hi!
I’m trying to set a few env vars in the AI Workbench, but it looks like it is not doing the interpolation so I cannot use the vars dependent on each other like so:
LLM_HOST=192.168.0.1
LLM_BASE_URL=http://${LLM_HOST}:11434
Any suggestions? Thanks!
Please describe your issue or request: (tick the boxes after creating this topic):
Please tick the appropriate box to help us categorize your post
Bug or Error
Feature Request
Documentation Issue
Other
hi - did you resolve this or do you still need assistance?
Hi,
I have removed the interpolated values and copied the actual values to all env vars. I couldn’t make the interpolation working.
Thanks,
Dima
I checked with the engineers. It seems that if you put them in the variables.env
file the container runtimes can’t parse it.
If you were to put them into the postBuild.bash
or preBuild.bash
files it should work.
however, that is a little klunky.
1 Like
If you look at line 59 in this postBuild.bash file , you should see a method that will work.
Ah, that makes sense! Thanks a lot for helping me out.
1 Like
system
Closed
October 7, 2024, 1:51pm
7
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.