Merge pull request #37 from vezuresdotxyz/develop

chore: merge develop into main (v0.24.0)
This commit is contained in:
Steven Enamakel
2026-02-04 13:27:37 +05:30
committed by GitHub
2 changed files with 22 additions and 8 deletions
+17
View File
@@ -176,6 +176,7 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 1
submodules: true
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref || github.ref }}
- name: Set Xcode version
@@ -235,6 +236,22 @@ jobs:
if: steps.yarn-cache.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfile
- name: Cache skills node modules
id: skills-yarn-cache
uses: actions/cache@v4
with:
path: skills/node_modules
key: ${{ runner.os }}-skills-${{ hashFiles('skills/yarn.lock') }}
restore-keys: |
${{ runner.os }}-skills-
- name: Install skills dependencies
if: steps.skills-yarn-cache.outputs.cache-hit != 'true'
run: cd skills && yarn install --frozen-lockfile
- name: Build skills
run: cd skills && yarn build
- name: Extract repository owner and name
id: repository-info
if: needs.get-version.outputs.should-publish != ''
@@ -107,20 +107,17 @@ object MediaPipeLlmBridge {
currentModelPath = null
// Build options
// Note: Temperature is not available in MediaPipe LLM Inference API 0.10.x
// Only setModelPath, setMaxTokens, setMaxTopK, and setRandomSeed are supported
// Note: MediaPipe LLM Inference API 0.10.x only supports:
// setModelPath, setMaxTokens, setMaxTopK
// Temperature and randomSeed are not available in this API version
val optionsBuilder = LlmInferenceOptions.builder()
.setModelPath(modelPath)
.setMaxTokens(maxTokens)
.setMaxTopK(topK)
if (randomSeed > 0) {
optionsBuilder.setRandomSeed(randomSeed)
}
// Temperature parameter is accepted but not used in current API version
// Temperature and randomSeed parameters are accepted but not used
@Suppress("UNUSED_VARIABLE")
val unusedTemp = temperature
val unusedParams = listOf(temperature, randomSeed)
val options = optionsBuilder.build()