File tree 2 files changed +10
-2
lines changed
2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 15
15
- main
16
16
17
17
env :
18
+ # CI/CD variables
18
19
CONTAINER_NAME : ${{ github.repository }}
19
20
CONTAINER_REGISTRY_GHCR : ghcr.io
20
21
CONTAINER_PLATFORMS : linux/amd64,linux/arm64/v8
22
+ # Tool versions
23
+ # See: https://github.com/azure/azure-cli/releases
24
+ AZURE_CLI_VERSION : 2.68.0
21
25
# https://github.com/docker/buildx/releases
22
26
BUILDX_VERSION : 0.17.1
23
27
@@ -113,7 +117,9 @@ jobs:
113
117
version : " 0.5.x"
114
118
115
119
- name : Set up Azure CLI
116
- run : curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
120
+ run : |
121
+ curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
122
+ sudo apt-get install azure-cli=${{ env.AZURE_CLI_VERSION }}-1~$(lsb_release -cs)
117
123
118
124
# - name: Login to Azure
119
125
Original file line number Diff line number Diff line change @@ -148,7 +148,9 @@ async def _completion_stream_worker(
148
148
max_tokens = max_tokens ,
149
149
messages = prompt ,
150
150
stream = True ,
151
- tools = tools ,
151
+ # AI Inference API doesn't support enpty tools array
152
+ # See: https://github.com/microsoft/call-center-ai/issues/399
153
+ tools = tools or None ,
152
154
)
153
155
154
156
# Yield chuncks
You can’t perform that action at this time.
0 commit comments