Skip to content

Commit

Permalink
Fix typos "substract" → "subtract" (#256)
Browse files Browse the repository at this point in the history
* fix typo anthropic_streaming_with_tools.rs

* fix typos agent_with_tools.rs

* fix typos agent_with_deepseek.rs

* fix typo calculator_chatbot.rs

* fix typos rag_dynamic_tools.rs

* fix typos agent_with_grok.rs
  • Loading branch information
Pronoss authored Jan 31, 2025
1 parent 8eeb6b8 commit a8be263
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions rig-core/examples/agent_with_deepseek.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,11 @@ impl Tool for Subtract {
"properties": {
"x": {
"type": "number",
"description": "The number to substract from"
"description": "The number to subtract from"
},
"y": {
"type": "number",
"description": "The number to substract"
"description": "The number to subtract"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions rig-core/examples/agent_with_grok.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,11 +190,11 @@ impl Tool for Subtract {
"properties": {
"x": {
"type": "number",
"description": "The number to substract from"
"description": "The number to subtract from"
},
"y": {
"type": "number",
"description": "The number to substract"
"description": "The number to subtract"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions rig-core/examples/agent_with_tools.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ impl Tool for Subtract {
"properties": {
"x": {
"type": "number",
"description": "The number to substract from"
"description": "The number to subtract from"
},
"y": {
"type": "number",
"description": "The number to substract"
"description": "The number to subtract"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions rig-core/examples/anthropic_streaming_with_tools.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ impl Tool for Subtract {
"properties": {
"x": {
"type": "number",
"description": "The number to substract from"
"description": "The number to subtract from"
},
"y": {
"type": "number",
"description": "The number to substract"
"description": "The number to subtract"
}
},
"required": ["x", "y"]
Expand Down
4 changes: 2 additions & 2 deletions rig-core/examples/calculator_chatbot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,11 @@ impl Tool for Subtract {
"properties": {
"x": {
"type": "number",
"description": "The number to substract from"
"description": "The number to subtract from"
},
"y": {
"type": "number",
"description": "The number to substract"
"description": "The number to subtract"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions rig-core/examples/rag_dynamic_tools.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,11 @@ impl Tool for Subtract {
"properties": {
"x": {
"type": "number",
"description": "The number to substract from"
"description": "The number to subtract from"
},
"y": {
"type": "number",
"description": "The number to substract"
"description": "The number to subtract"
}
}
}
Expand Down

0 comments on commit a8be263

Please sign in to comment.