-
Notifications
You must be signed in to change notification settings - Fork 522
fix(docs): align documentation with actual codebase #1107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -254,10 +254,10 @@ In the `ReActAgent`'s reasoning phase (ReasoningPipeline), this configuration is | |||||||||||||
| **Default Configuration** (ExecutionConfig.MODEL_DEFAULTS): | ||||||||||||||
| - Timeout: 5 minutes | ||||||||||||||
| - Max attempts: 3 (initial + 2 retries) | ||||||||||||||
| - Initial backoff: 1 second | ||||||||||||||
| - Max backoff: 10 seconds | ||||||||||||||
| - Initial backoff: 2 seconds | ||||||||||||||
| - Max backoff: 30 seconds | ||||||||||||||
| - Backoff multiplier: 2.0 (exponential) | ||||||||||||||
| - Retry condition: all errors | ||||||||||||||
| - Retry condition: retryable errors (429, 5xx, timeout, network IO errors) | ||||||||||||||
|
|
||||||||||||||
| **Use Cases**: | ||||||||||||||
| - Adjust model API timeout | ||||||||||||||
|
|
@@ -460,7 +460,7 @@ Generally, there's no need to explicitly specify; the model will automatically s | |||||||||||||
| Provides the set of skills available to the Agent. It allows the Agent to load skills through tool functions and automatically injects skill hints via the Hook mechanism. | ||||||||||||||
|
|
||||||||||||||
| ```java | ||||||||||||||
| SkillBox skillBox = new SkillBox(); | ||||||||||||||
| SkillBox skillBox = new SkillBox(new Toolkit()); | ||||||||||||||
| .skillBox(skillBox) | ||||||||||||||
| ``` | ||||||||||||||
|
|
||||||||||||||
|
|
@@ -563,7 +563,11 @@ public class ComprehensiveAgentExample { | |||||||||||||
| // 5. Define skill class | ||||||||||||||
| public static class WeatherSkill extends AgentSkill { | ||||||||||||||
| public WeatherSkill() { | ||||||||||||||
| super("weather", "weather", "weather", null); | ||||||||||||||
| super(AgentSkill.builder() | ||||||||||||||
| .name("weather") | ||||||||||||||
| .description("weather") | ||||||||||||||
| .skillContent("weather") | ||||||||||||||
| .build()); | ||||||||||||||
|
Comment on lines
+566
to
+570
|
||||||||||||||
| super(AgentSkill.builder() | |
| .name("weather") | |
| .description("weather") | |
| .skillContent("weather") | |
| .build()); | |
| super("weather", "weather", "weather", null); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AgentSkillrequires non-emptyskillContent(the constructor throws if it’s null/empty). Using.skillContent("")here will fail at runtime; please provide at least a minimal placeholder (e.g., a short markdown header/instructions) or show how to load skill content properly.