Integrate Llama or openAI with VScode to use it as github copilot

Tried with OPENAI integration but it does not work.

You tried to access openai.Completion, but this is no longer supported in openai>=1.0.0 - see the README at GitHub - openai/openai-python: The official Python library for the OpenAI API for the API.

A detailed migration guide is available here:

With upgraded openAI also I am facing API usage crossed. But that is not true , sicne i am able to use chatgpt still

The openai.RateLimitError: Error code: 429

My main goal is to integrate any LLM model with my IDE for better code experience. I pay each month for chatgpt already and dont want to spend anymore.