OpenFn / OpenFn/lightning

job_chat: model responded 3 times to a single query

Open
#3,346 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

DevX
Dominant language
Elixir
Stars
296
Forks
86
Avg merge
1d 13h
Merged PRs (30d)
50

Description

Image

Image

Image

Reported by Laura

Here is a link to GCP logs showing the chat

Looking at GCP logs I think there are 3 POST requests to services/job_chat. So I think the app has sent three requests (this makes sense because there's no way that apollo can return 3 chats in one request. Those requests also came like 10ms apart

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.

Research direction

Start by inspecting the services/job_chat entry point and the linked GCP logs. Confirm whether one query produces three POST requests about 10ms apart; done means a single query results in one model response.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.