update: Taskツールの説明を更新
This commit is contained in:
parent
194d29723e
commit
56f9bab7b7
|
|
@ -252,21 +252,23 @@ struct TaskUpdateTool {
|
||||||
}
|
}
|
||||||
|
|
||||||
const CREATE_DESCRIPTION: &str = "Create a session-lifetime task for short-term current-work \
|
const CREATE_DESCRIPTION: &str = "Create a session-lifetime task for short-term current-work \
|
||||||
tracking, not project management. Tasks are user-visible real-time status. Use this whenever you \
|
tracking, not project management. Tasks are user-visible real-time status for work with a \
|
||||||
set a goal and work through steps, including implementation. Input only `subject` and \
|
concrete goal that needs multiple meaningful steps, such as implementation, debugging, \
|
||||||
`description`; `taskid` is assigned automatically and initial `status` is `pending`.";
|
investigation, or structured review. Do not create tasks for simple questions, brief answers, or \
|
||||||
|
single-step actions. Input only `subject` and `description`; `taskid` is assigned automatically \
|
||||||
|
and initial `status` is `pending`.";
|
||||||
const LIST_DESCRIPTION: &str = "List every session-lifetime task, including completed and \
|
const LIST_DESCRIPTION: &str = "List every session-lifetime task, including completed and \
|
||||||
deleted entries. Tasks are user-visible real-time status for short-term current-work tracking. \
|
deleted entries. Tasks are user-visible real-time status for short-term current-work tracking. \
|
||||||
Takes an empty object as input.";
|
Takes an empty object as input.";
|
||||||
const GET_DESCRIPTION: &str = "Get one session-lifetime task by `taskid`. Tasks are \
|
const GET_DESCRIPTION: &str = "Get one session-lifetime task by `taskid`. Tasks are \
|
||||||
user-visible real-time status for short-term current-work tracking. Returns an error if the task \
|
user-visible real-time status for short-term current-work tracking. Returns an error if the task \
|
||||||
does not exist.";
|
does not exist.";
|
||||||
const UPDATE_DESCRIPTION: &str = "Update an existing session-lifetime task before moving to the \
|
const UPDATE_DESCRIPTION: &str = "Update an existing session-lifetime task as progress changes \
|
||||||
next step. Tasks are user-visible real-time status; when working through steps, keep status \
|
between meaningful steps. Tasks are user-visible real-time status for multi-step work; keep \
|
||||||
current with `pending`, `inprogress`, `completed`, or `deleted`. Provide `taskid` and at least \
|
status current with `pending`, `inprogress`, `completed`, or `deleted`. Provide `taskid` and at \
|
||||||
one of `status`, `subject`, or `description`; deletion is logical (`status = deleted`). If an \
|
least one of `status`, `subject`, or `description`; deletion is logical (`status = deleted`). If \
|
||||||
unexpected problem blocks progress, do not force the next step: leave the task as-is, summarize \
|
an unexpected problem blocks progress, do not force the next step: leave the task as-is, \
|
||||||
the problem to the user, and end the turn.";
|
summarize the problem to the user, and end the turn.";
|
||||||
|
|
||||||
#[async_trait]
|
#[async_trait]
|
||||||
impl Tool for TaskCreateTool {
|
impl Tool for TaskCreateTool {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user