Hi @TMosh
I have just realized that the os.getenv function takes two arguments: the name of the environment variable and a default value. If the environment variable DLAI_TOGETHER_API_BASE is set, os.getenv will return its value. If it’s not set, os.getenv will return the default value, which is 'https://api.together.xyz' in this case.
In the ‘utils.py’ file there is another environment variable called ‘TOGETHER_API_KEY’.
I think is some coder that need to complicate the life of the rest of people ;(, would be easier to simply write a constant at the begining of utils.py: