Skip to content

Scoring always returns 0 — 404 error on Gemini API endpoint #19

@jostojic

Description

@jostojic

Description:
All jobs are being scored as 0 regardless of content. The scoring stage completes successfully but no real scores are saved.
Error in logs:
HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 404 Not Found"
LLM error scoring job '...': Client error '404 Not Found'
[1/1] score=0
Environment:

macOS (Apple Silicon)
Python 3.x
Provider: Gemini (paid tier)
Model: gemini-2.0-flash
Tried --validation lenient — no effect on scoring
Tried adding GEMINI_API_BASE to .env — no effect

Steps to reproduce:

Run applypilot run discover enrich score
Scoring stage completes with "ok" status
All 60+ jobs show score=0 in dashboard and status

Expected: Jobs scored 1-10 based on resume fit
Actual: All jobs score 0, 404 error on every API call to the OpenAI-compatible Gemini endpoint
Notes: The API key is valid — curl to v1beta/models returns full model list successfully. Issue appears to be specific to the /v1beta/openai/ compatibility endpoint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions