Skip to content

Commit 12fd8ce

Browse files
committed
Merge branch 'develop'
2 parents 47a8387 + 516bacc commit 12fd8ce

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/pipeline.yaml

+7-1
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,13 @@ on:
1515
- main
1616

1717
env:
18+
# CI/CD variables
1819
CONTAINER_NAME: ${{ github.repository }}
1920
CONTAINER_REGISTRY_GHCR: ghcr.io
2021
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
2125
# https://github.com/docker/buildx/releases
2226
BUILDX_VERSION: 0.17.1
2327

@@ -113,7 +117,9 @@ jobs:
113117
version: "0.5.x"
114118

115119
- 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)
117123
118124
# - name: Login to Azure
119125
# uses: Azure/[email protected]

app/helpers/llm_worker.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,9 @@ async def _completion_stream_worker(
148148
max_tokens=max_tokens,
149149
messages=prompt,
150150
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,
152154
)
153155

154156
# Yield chuncks

0 commit comments

Comments
 (0)