Skip to content

Conversation

@dargilco
Copy link
Member

@dargilco dargilco commented Oct 14, 2024

  • Some services require "Authorization: Bearer my-key", other require "api-key: my-key", when using API key authentication. To make client construction similar for these services, generate both HTTP request headers.
  • Switch to using pip install azure-ai-inference[opentelemetry] instead of pip install azure-ai-inference[trace], to be more specific.
  • Use vanity link to point to the AOAI table that shows their api-version (https://aka.ms/azsdk/azure-ai-inference/azure-openai-api-versions)
  • For some reason the gpt-4o model in the AOAI deployment I was using for testing no longer responds. I'll need to look into it, but for now switch to using a different gpt-4o deployment (minor updates in test code).

@dargilco dargilco self-assigned this Oct 14, 2024
@github-actions github-actions bot added the AI Model Inference Issues related to the client library for Azure AI Model Inference (\sdk\ai\azure-ai-inference) label Oct 14, 2024
@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

@dargilco dargilco merged commit 9b589f5 into main Oct 15, 2024
44 checks passed
@dargilco dargilco deleted the dargilco/azure-ai-inference-support-two-key-auth-headers branch October 15, 2024 21:19
l0lawrence pushed a commit to l0lawrence/azure-sdk-for-python that referenced this pull request Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI Model Inference Issues related to the client library for Azure AI Model Inference (\sdk\ai\azure-ai-inference)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants