Skip to content

Commit

Permalink
Merge pull request #1410 from G-Core/Oksana-Levchuk-patch-61
Browse files Browse the repository at this point in the history
Update create-and-manage-api-keys.md
  • Loading branch information
Oksana-Levchuk authored Oct 31, 2024
2 parents c3680e1 + 142697f commit a260391
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ displayName: Create and manage API keys
published: true
order: 30
toc:
--1-Create an API key: "create-an-api-key"
--1--Create an API key: "create-an-api-key"
--1--Access a model using API key: "access-a-model-using-api-key"
--1--Manage API keys: "manage-api-keys"
--2--Edit API key: "edit-api-key"
Expand Down Expand Up @@ -107,8 +107,6 @@ class GcoreCompatibleOpenAI(OpenAI):
def auth_headers(self) -> dict[str, str]:
api_key = self.api_key
return {"x-api-Key": api_key}


client = GcoreCompatibleOpenAI(
base_url="<Inference Endpoint>/v1",
api_key="<APIKEY>",
Expand Down

0 comments on commit a260391

Please sign in to comment.