From 48e2b5d048307b7691a6d3c9a5cf2bf95eb69931 Mon Sep 17 00:00:00 2001 From: Josh XT Date: Tue, 7 May 2024 03:03:20 -0400 Subject: [PATCH] add requests --- .github/workflows/operation-test-with-jupyter.yml | 2 +- .github/workflows/test-with-ezlocalai.yml | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/operation-test-with-jupyter.yml b/.github/workflows/operation-test-with-jupyter.yml index 290e3a2..923d5f2 100644 --- a/.github/workflows/operation-test-with-jupyter.yml +++ b/.github/workflows/operation-test-with-jupyter.yml @@ -46,7 +46,7 @@ jobs: service-under-test: image: ${{ inputs.image }} env: - DEFAULT_MODEL: "MaziyarPanahi/Meta-Llama-3-8B-Instruct-GGUF" + DEFAULT_MODEL: "MaziyarPanahi/Meta-Llama-3-8B-Instruct-GGUF" ports: - ${{ inputs.port-mapping || format('{0}:{1}', inputs.port, inputs.port) }} diff --git a/.github/workflows/test-with-ezlocalai.yml b/.github/workflows/test-with-ezlocalai.yml index 4af2e7f..d65c4ee 100644 --- a/.github/workflows/test-with-ezlocalai.yml +++ b/.github/workflows/test-with-ezlocalai.yml @@ -1,4 +1,4 @@ -name: Test with ezLocalai +name: Test with ezlocalai on: workflow_call: inputs: @@ -10,6 +10,10 @@ on: image: type: string required: true + port: + type: string + port-mapping: + type: string image-options: type: string description: like --entrypoint, --command @@ -43,9 +47,9 @@ jobs: service-under-test: image: ${{ inputs.image }} env: - DEFAULT_MODEL: "MaziyarPanahi/Meta-Llama-3-8B-Instruct-GGUF" + DEFAULT_MODEL: "MaziyarPanahi/Meta-Llama-3-8B-Instruct-GGUF" ports: - - 8091:8091 + - ${{ inputs.port-mapping || format('{0}:{1}', inputs.port, inputs.port) }} steps: - uses: actions/setup-python@v5