Skip to content

Commit 7c40f66

Browse files
maffafgambin
andcommitted
docs(agentic-ai): Apply review suggestions
Co-authored-by: Angel Fernandez <[email protected]>
1 parent 127ae5c commit 7c40f66

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
The AI Agent Task emits the following error codes when generating the tools schema from the process definition XML:
1+
The AI Agent Task generates the following error codes when creating the tool schema from the process definition XML:
22

33
| Error code | Description |
44
| :----------------------------------- | :------------------------------------------------------------------------------------------------------- |
55
| `AD_HOC_SUB_PROCESS_XML_FETCH_ERROR` | The process definition XML could not be fetched. |
66
| `AD_HOC_SUB_PROCESS_NOT_FOUND` | The ad-hoc sub-process with the configured ID could not be found in the process definition XML. |
7-
| `AD_HOC_TOOL_DEFINITION_INVALID` | The ad-hoc sub-process contains invalid tool definitions which can't be transformed into a tools schema. |
7+
| `AD_HOC_TOOL_DEFINITION_INVALID` | The ad-hoc sub-process contains invalid tool definitions which can't be transformed into a tool schema. |

docs/components/connectors/out-of-the-box-connectors/agentic-ai/aiagent/configuration/_error-handling.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ If an error occurs, the AI Agent connector throws an error and includes the erro
88
| :--------------- | :------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
99
| Error expression | No | You can handle an AI Agent connector error using an Error Boundary Event and [error expressions](/components/connectors/use-connectors/index.md#error-expression). |
1010

11-
In the error expression, you can handle the following error codes emitted by the AI Agent connector to react on specific situations. For example, you can map a specific error code to a BPMN error and model
11+
In the error expression, you can handle the following error codes emitted by the AI Agent connector to respond to specific situations. For example, you can map a specific error code to a BPMN error and model
1212
your process accordingly.
1313

1414
| Error code | Description |
1515
| :-------------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------- |
1616
| `FAILED_MODEL_CALL` | The call to the LLM API failed, for example due to misconfiguration or wrong credentials. The error message contains additional details. |
1717
| `FAILED_TO_PARSE_RESPONSE_CONTENT` | The AI Agent was configured to parse the LLM response as JSON, but the parsing failed. |
1818
| `MAXIMUM_NUMBER_OF_MODEL_CALLS_REACHED` | The AI Agent reached the maximum number of configured model calls. |
19-
| `NO_USER_MESSAGE_CONTENT` | Indicates that no user messages content - either coming from a user prompt or a document - was provided to the agent. |
20-
| `TOOL_CALL_RESULTS_ON_EMPTY_CONTEXT` | Tool call results were passed to the AI Agent despite the context being empty. This typically indicates misconfiguration of the agent context. |
19+
| `NO_USER_MESSAGE_CONTENT` | Indicates that no user message content, either from a user prompt or a document, was provided to the agent. |
20+
| `TOOL_CALL_RESULTS_ON_EMPTY_CONTEXT` | Tool call results were passed to the AI Agent despite the context being empty, which typically indicates a misconfiguration of the agent context. |
2121

2222
{props.type === "task" && <ConfigurationErrorCodesTask />}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
The AI Agent Task emits the following error codes when generating the tools schema from the process definition XML:
1+
The AI Agent Task generates the following error codes when creating the tool schema from the process definition XML:
22

33
| Error code | Description |
44
| :----------------------------------- | :------------------------------------------------------------------------------------------------------- |
55
| `AD_HOC_SUB_PROCESS_XML_FETCH_ERROR` | The process definition XML could not be fetched. |
66
| `AD_HOC_SUB_PROCESS_NOT_FOUND` | The ad-hoc sub-process with the configured ID could not be found in the process definition XML. |
7-
| `AD_HOC_TOOL_DEFINITION_INVALID` | The ad-hoc sub-process contains invalid tool definitions which can't be transformed into a tools schema. |
7+
| `AD_HOC_TOOL_DEFINITION_INVALID` | The ad-hoc sub-process contains invalid tool definitions which can't be transformed into a tool schema. |

versioned_docs/version-8.8/components/connectors/out-of-the-box-connectors/agentic-ai/aiagent/configuration/_error-handling.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ If an error occurs, the AI Agent connector throws an error and includes the erro
88
| :--------------- | :------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
99
| Error expression | No | You can handle an AI Agent connector error using an Error Boundary Event and [error expressions](/components/connectors/use-connectors/index.md#error-expression). |
1010

11-
In the error expression, you can handle the following error codes emitted by the AI Agent connector to react on specific situations. For example, you can map a specific error code to a BPMN error and model
11+
In the error expression, you can handle the following error codes emitted by the AI Agent connector to respond to specific situations. For example, you can map a specific error code to a BPMN error and model
1212
your process accordingly.
1313

1414
| Error code | Description |
1515
| :-------------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------- |
1616
| `FAILED_TO_PARSE_RESPONSE_CONTENT` | The AI Agent was configured to parse the LLM response as JSON, but the parsing failed. |
1717
| `MAXIMUM_NUMBER_OF_MODEL_CALLS_REACHED` | The AI Agent reached the maximum number of configured model calls. |
18-
| `NO_USER_MESSAGE_CONTENT` | Indicates that no user messages content - either coming from a user prompt or a document - was provided to the agent. |
19-
| `TOOL_CALL_RESULTS_ON_EMPTY_CONTEXT` | Tool call results were passed to the AI Agent despite the context being empty. This typically indicates misconfiguration of the agent context. |
18+
| `NO_USER_MESSAGE_CONTENT` | Indicates that no user message content, either from a user prompt or a document, was provided to the agent. |
19+
| `TOOL_CALL_RESULTS_ON_EMPTY_CONTEXT` | Tool call results were passed to the AI Agent despite the context being empty, which typically indicates a misconfiguration of the agent context. |
2020

2121
{props.type === "task" && <ConfigurationErrorCodesTask />}

0 commit comments

Comments
 (0)