Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
clemlesne committed Jan 21, 2025
2 parents 47a8387 + 516bacc commit 12fd8ce
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,13 @@ on:
- main

env:
# CI/CD variables
CONTAINER_NAME: ${{ github.repository }}
CONTAINER_REGISTRY_GHCR: ghcr.io
CONTAINER_PLATFORMS: linux/amd64,linux/arm64/v8
# Tool versions
# See: https://github.com/azure/azure-cli/releases
AZURE_CLI_VERSION: 2.68.0
# https://github.com/docker/buildx/releases
BUILDX_VERSION: 0.17.1

Expand Down Expand Up @@ -113,7 +117,9 @@ jobs:
version: "0.5.x"

- name: Set up Azure CLI
run: curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
run: |
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
sudo apt-get install azure-cli=${{ env.AZURE_CLI_VERSION }}-1~$(lsb_release -cs)
# - name: Login to Azure
# uses: Azure/[email protected]
Expand Down
4 changes: 3 additions & 1 deletion app/helpers/llm_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,9 @@ async def _completion_stream_worker(
max_tokens=max_tokens,
messages=prompt,
stream=True,
tools=tools,
# AI Inference API doesn't support enpty tools array
# See: https://github.com/microsoft/call-center-ai/issues/399
tools=tools or None,
)

# Yield chuncks
Expand Down

0 comments on commit 12fd8ce

Please sign in to comment.