diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f00f037..89e6a19 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,7 +1,7 @@ name: Builds run-name: Validate Node and Docker Builds on: - pull_request: + push: branches: - master diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5205402..0ad2a56 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,7 +1,7 @@ name: Tests -run-name: Test source code for errors +run-name: Unit Tests on: - push: + pull_request: branches: - master diff --git a/src/utils/streamHandler.ts b/src/utils/streamHandler.ts index c205295..23c64c3 100644 --- a/src/utils/streamHandler.ts +++ b/src/utils/streamHandler.ts @@ -11,7 +11,6 @@ export async function streamResponse(params: ChatParams): Promise { model: params.model, messages: params.msgHist, options: { - num_thread: 8, // remove if optimization needed further mirostat: 1, mirostat_tau: 2.0, top_k: 70