We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c05072 commit f551986Copy full SHA for f551986
1 file changed
chat_pydanticai.py
@@ -24,7 +24,7 @@
24
model = OpenAIModel(os.environ["OLLAMA_MODEL"], api_key="fake", base_url=os.environ["OLLAMA_ENDPOINT"])
25
elif API_HOST == "github":
26
model = OpenAIModel(
27
- os.environ["OPENAI_MODEL"], api_key=os.environ["GITHUB_TOKEN"], base_url="https://models.inference.ai.azure.com"
+ os.environ["GITHUB_MODEL"], api_key=os.environ["GITHUB_TOKEN"], base_url="https://models.inference.ai.azure.com"
28
)
29
30
else:
0 commit comments