OpenFn / OpenFn/apollo

Job_chat: Add replace_all action

Open
#622 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
5
Forks
10
Avg merge
2d 20h
Merged PRs (30d)
17

Description

If the user wants to e.g. rename a variable, it will take a lot of code from the job_chat agent to replace all instances through the string replacement tool. Add an option to replace all occurrences of a string that will not fail upon multiple matches.

Contributor guide

Open the contributing guide

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

Locate the job_chat agent and its string replacement tool, then read how replacement requests with one match are handled. The change is done when a request to replace all occurrences succeeds despite multiple matches and preserves the existing single-replacement behavior; verify it with the project's relevant checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook
Domain
ai
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.