Small renames
This commit is contained in:
@@ -27,8 +27,8 @@ func (a *IntentAction) Run(context.Context, ActionParams) (string, error) {
|
||||
|
||||
func (a *IntentAction) Definition() ActionDefinition {
|
||||
return ActionDefinition{
|
||||
Name: "intent",
|
||||
Description: "detect user intent",
|
||||
Name: "pick_tool",
|
||||
Description: "Pick a tool",
|
||||
Properties: map[string]jsonschema.Definition{
|
||||
"reasoning": {
|
||||
Type: jsonschema.String,
|
||||
|
||||
@@ -25,8 +25,8 @@ func (a *ReasoningAction) Run(context.Context, ActionParams) (string, error) {
|
||||
|
||||
func (a *ReasoningAction) Definition() ActionDefinition {
|
||||
return ActionDefinition{
|
||||
Name: "think",
|
||||
Description: "try to understand what's the best thing to do",
|
||||
Name: "pick_action",
|
||||
Description: "try to understand what's the best thing to do and pick an action with a reasoning",
|
||||
Properties: map[string]jsonschema.Definition{
|
||||
"reasoning": {
|
||||
Type: jsonschema.String,
|
||||
|
||||
Reference in New Issue
Block a user