posit-dev / posit-dev/btw

Use base-R standalone files for functionality copied in Positron?

Open
#78 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
137
Forks
10
Avg merge
10h 48m
Merged PRs (30d)
4

Description

It might be helpful if the functionality we copied over to Ark for tool calls in Positron was implemented in base-R only standalone files. This way the functionality is updated and tested in one place, usethis can be used to manage updates (https://usethis.r-lib.org/reference/use_standalone.html), and we wouldn't need to adapt the code to base R when we need to update.

You can see which functions we adapted in https://github.com/posit-dev/ark/pull/868 (files help.R and llm_tools.R).

This is just a suggestion, I'd understand if you think this would be impractical or too constraining on your end.

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

Start by reviewing the functionality adapted in Ark PR 868, especially the standalone files help.R and llm_tools.R. Compare those files with the corresponding Positron tool-call functionality and investigate whether base-R standalone files can be managed with usethis. Done means the approach is defined and the affected functionality has a single maintainable implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
tooling
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.