Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

The generate POST succeeds and returns a job ID, but retrieving results always fails with HTTP 400.

Open Beginner friendly
#6 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
76/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Tech stack
python

Research direction

Start in embeddings/api.py and trace the generate job's POST and result-retrieval URLs. Reproduce the issue with poet.generate(...), then gen_job.wait() using the documented minimal example. Done means the result retrieval uses the correct model-scoped endpoint and no longer fails with HTTP 400.

Written by the indexing model from the issue text.

Description

Version: 0.12.1

The generate POST succeeds and returns a job ID, but retrieving
results always fails with HTTP 400.

Looking at embeddings/api.py:

  • POST goes to: /api/v1/embeddings/models/{model_id}/generate ✓
  • GET goes to: /api/v1/embeddings/{job_id}/generate ✗

The GET path appears to be missing the /models/{model_id}/
prefix compared to the POST path. This may be a URL mismatch.

Failing job ID: f83e723e-6f03-4c79-a46a-cc752b6a30e4
Server response: {"detail":"error retrieving results","jid":"..."}

Minimal reproduction:
poet = session.embedding.get_model("poet")
gen_job = poet.generate(prompt=prompt_id_string, num_samples=10)
gen_job.wait() # raises HTTPError 400

Dominant language
Python
Stars
17
Forks
0
Avg merge
16m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.