Skip to content

Conversation

@data-angel
Copy link
Contributor

@data-angel data-angel commented Jan 6, 2026

There is a bug currently where youtube URLs passed to the AnalyzeVideo tool will be ignored by Gemini. This fixes it.


Note

Major infrastructure and deployment

  • Add GitHub Actions to build/push cortex and file-handler images and deploy via SSH to Hetzner
  • New Dockerfile and docker-compose.prod.yml with Traefik, Redis, Cortex, and File Handler services

Cloud storage and config

  • Add GCS impersonation support via GCP_SERVICE_ACCOUNT_EMAIL across config.js, lib/gcpAuthTokenHelper.js, File Handler (StorageFactory, GCSStorageProvider, blobHandler), and docs
  • Require explicit GCS bucket via getGCSBucketName() (lazy validation); remove silent defaults
  • Add config/default.json with default models, entity config/constants, and service endpoints
  • Load .env at startup (start.js) and add dotenv dependency

Plugins, pathways, and behavior

  • Improve Gemini Vision plugin to handle gs://, YouTube, HTTP/HTTPS, and data URLs (with MIME extraction)
  • Update pathways (code_review.js, release_notes.js, translate.js) to use Gemini variants and tweak performance/behavior

File handling and conversion

  • Refine conversion logic: Excel always converts locally; DOC/PPT only convert when services available

Tests, docs, misc

  • Update and add tests for GCS provider/factory and conversion behavior; adjust GCS bucket usage in tests
  • Documentation updates in README.md, FILE_SYSTEM_DOCUMENTATION.md, and File Handler INTERFACE.md
  • Expand .gitignore

Written by Cursor Bugbot for commit 6ac204f. This will update automatically on new commits. Configure here.

…ation handling

- Introduced `gcpServiceAccountEmail` configuration for service account impersonation, recommended over the legacy key method.
- Updated authentication logic to support both service account impersonation and legacy service account key.
- Enhanced documentation to reflect changes in GCP configuration and usage.
- Adjusted file handling to accommodate new authentication methods, ensuring compatibility with existing functionality.
…ion for improved lazy evaluation

- Updated blobHandler, constants, and various services to utilize getGCSBucketName for retrieving the GCS bucket name.
- Enhanced error handling for GCS bucket name retrieval, ensuring it only throws errors when accessed.
- Modified tests to reflect changes in GCS bucket name handling, ensuring compatibility with the new function.
GCS Updates, Deployment Scripts, Various Updates
…add dotenv to dependencies

- Modified Dockerfile to use `npm ci --omit=dev` for installing only production dependencies.
- Added `dotenv` to the list of dependencies in package.json, removing it from devDependencies.
- Added port mappings for the file-handler and cortex services to expose them on a private network for Concierge access.
- Updated deployment script to ensure the repository name is lowercase for Docker compatibility, improving the reliability of image pulls and environment variable settings.
- Changed the WHISPER_MEDIA_API_URL to include the /api/CortexFileHandler endpoint for improved API routing.
- Removed unnecessary version declaration for cleaner configuration.
- Changed model identifiers in code_review.js and release_notes.js to reflect new versions.
- Improved translation prompt in translate.js for clarity and added new parameters for enhanced processing.
- Updated tool descriptions in sys_tool_browser_jina.js and sys_tool_browser.js for better user understanding and functionality adjustments.
- Updated the Gemini15VisionPlugin to check for a URL in multiple properties: gcs, image_url.url, and a new direct url property.
- Improved error handling by ensuring the input is parsed correctly as JSON before processing.
@data-angel data-angel closed this Jan 6, 2026
@data-angel data-angel deleted the jmac_fix_gemini_youtube_url branch January 6, 2026 20:51
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

This is the final PR Bugbot will review for you during this billing cycle

Your free Bugbot reviews will reset on February 1

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

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