Local llm error with enviromental variable OPENAI key

yes I have tried like this but it is not working.