Skip to content

Commit

Permalink
add compat remark as comment
Browse files Browse the repository at this point in the history
  • Loading branch information
aacebo committed Oct 21, 2024
1 parent bc67f11 commit c6648c3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ public static class AIConstants
/// <summary>
/// The type of command that will stop the running.
/// </summary>
/// <remarks>
/// This command is incompatible and should not be used with `tools` augmentation
/// </remarks>
public const string StopCommand = "STOP";

/// <summary>
Expand Down
2 changes: 2 additions & 0 deletions js/packages/teams-ai/src/AI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ export class AI<TState extends TurnState = TurnState> {
/**
* A text string that can be returned from an action to stop the AI system from continuing
* to execute the current plan.
* @remarks
* This command is incompatible and should not be used with `tools` augmentation
*/
public static readonly StopCommandName = actions.StopCommandName;

Expand Down
2 changes: 2 additions & 0 deletions python/packages/ai/teams/ai/actions/action_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

class ActionTypes(str, Enum):
STOP = "STOP"
"This command is incompatible and should not be used with `tools` augmentation"

UNKNOWN_ACTION = "___UnknownAction___"
FLAGGED_INPUT = "___FlaggedInput___"
FLAGGED_OUTPUT = "___FlaggedOutput___"
Expand Down

0 comments on commit c6648c3

Please sign in to comment.