• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dcdpr / jp / 21070312192
58%

Build:
DEFAULT BRANCH: main
Ran 16 Jan 2026 02:48PM UTC
Jobs 1
Files 176
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Jan 2026 02:42PM UTC coverage: 51.91% (-0.3%) from 52.205%
21070312192

push

github

web-flow
feat(config, llm, tools): Support tool questions targeted at assistant (#381)

Tools can now define questions that are meant to be answered by the
assistant instead of the user. This enables more complex tool
interactions where the assistant provides missing information needed for
tool execution.

The `answers` configuration in `ToolConfig` is replaced by a more
flexible `questions` mapping. Each question can specify a `target`
(either `user` or `assistant`) and an optional fixed `answer`. When a
tool requests a question targeted at the assistant, the CLI will
automatically prompt the assistant to provide the answer and re-run the
tool with a special `tool_answers` argument.

To facilitate this, `ToolDefinition` now includes a `tool_answers`
parameter in its JSON schema when assistant-targeted questions are
configured. The `TurnState` is also updated to track pending tool
questions across multiple request-response cycles.

---------

Signed-off-by: Jean Mertz <git@jeanmertz.com>

39 of 208 new or added lines in 7 files covered. (18.75%)

4 existing lines in 3 files now uncovered.

10190 of 19630 relevant lines covered (51.91%)

119.11 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
25.5
0.0% crates/jp_cli/src/cmd/query.rs
8
76.96
0.19% crates/jp_llm/src/test.rs
15
45.21
12.77% crates/jp_conversation/src/event/tool_call.rs
21
11.86
0.18% crates/jp_llm/src/tool.rs
43
37.33
-1.98% crates/jp_config/src/conversation/tool.rs
81
27.11
-5.16% crates/jp_cli/src/cmd/query/event.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
37.33
-1.98% crates/jp_config/src/conversation/tool.rs
1
11.86
0.18% crates/jp_llm/src/tool.rs
2
27.11
-5.16% crates/jp_cli/src/cmd/query/event.rs
Jobs
ID Job ID Ran Files Coverage
1 21070312192.1 16 Jan 2026 02:48PM UTC 176
51.91
GitHub Action Run
Source Files on build 21070312192
  • Tree
  • List 176
  • Changed 7
  • Source Changed 7
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21070312192
  • 8407ca6c on github
  • Prev Build on main (#21067387390)
  • Next Build on main (#21076945327)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc