You do not have permission to perform this action.
client = OpenAI(
api_key = RUNPOD_TOKEN,
base_url = OPENAI_BASE_URL,
)
response = client.chat.completions.create(
model = MODEL_NAME,
messages = [
{'role': 'user', 'content': 'what is the capital of germany?'}
],
temperature=0.0,
top_p = 0.8,
max_tokens=2000,
)
Got -> Error code: 403 - {'error': 'You do not have permission to perform this action.'}
1 Reply
What is the openai base url like?