Skip to content

V8#11

Closed
cs-util wants to merge 3 commits into
v7from
v8
Closed

V8#11
cs-util wants to merge 3 commits into
v7from
v8

Conversation

@cs-util
Copy link
Copy Markdown
Contributor

@cs-util cs-util commented Oct 29, 2025

No description provided.

…nt's flat config will exclude the local vendor files.

Recreated .eslintignore (removed markdown fences) and ensured it contains:
ort/
node_modules/
coverage/
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @cs-util, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request integrates the ONNX Runtime Web (ORT) library, version 1.18.0, into the project. This integration is crucial for enabling high-performance machine learning model execution directly within web browsers. The changes include adding the necessary ORT WASM runtime files, configuring development settings for model paths, and updating ESLint rules to accommodate the new library structure.

Highlights

  • ONNX Runtime Web (ORT) Integration: The core WebAssembly (WASM) runtime files for ONNX Runtime Web (v1.18.0) have been added to the project, enabling efficient execution of machine learning models in the browser.
  • ESLint Configuration Update: ESLint ignore patterns have been updated to exclude the newly added 'ort/' directories from linting, preventing unnecessary checks on third-party library files.
  • Development Environment Setup: Default paths for ORT WASM and Silero VAD models are now set in 'index.html', streamlining local development and testing of AI features.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds the ONNX Runtime Web library as a vendored dependency. The changes include adding the library files, updating the ESLint configuration to ignore them, and setting up default paths in index.html for development. My main feedback is on the .eslintignore file, which contains duplicate entries that should be removed for cleanliness. The pull request title and description could also be more descriptive to better communicate the purpose of the changes.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread index.html
Comment on lines +155 to +161
<script>
// Local ORT and Silero VAD defaults for development.
// These can be overridden by setting the same window properties before this page loads.
window.ORT_WASM_PATH = window.ORT_WASM_PATH || '/ort/';
// If you host the silero model locally, place it at /models/silero_v5_16k.onnx
window.SILERO_VAD_MODEL =
window.SILERO_VAD_MODEL || '/models/silero_v5_16k.onnx';
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Defaulting Silero model URL to missing local asset breaks VAD

The new inline script sets window.SILERO_VAD_MODEL to '/models/silero_v5_16k.onnx' for every page load. DEFAULT_SILERO_MODEL_URL in src/stt/config.js now always resolves to this local path, but the repo does not include a /models/silero_v5_16k.onnx asset. As a result ensureSession() attempts to fetch a non‑existent file and the ONNX InferenceSession creation fails, disabling VAD out of the box. Previously the app worked because the default URL pointed to the hosted GitHub model. Consider keeping the remote default unless a local model is actually provided.

Useful? React with 👍 / 👎.

@cs-util cs-util closed this Oct 31, 2025
@cs-util cs-util deleted the v8 branch October 31, 2025 03:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant