Skip to content

Commit

Permalink
fix: types.
Browse files Browse the repository at this point in the history
  • Loading branch information
asafkorem committed Jan 20, 2025
1 parent 7ab36cf commit f158eb1
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ export type CodeEvaluationResult = {

/**
* Represents the output of each iteration of pilot's perform.
* @property contains the action and thoughts that were taken by the LLM
* @property the code that were created by the LLM from pilot's action
* @property plan contains the action and thoughts that were taken by the LLM
* @property code that was created by the LLM from pilot's action
*/
export type PilotStepReport = {
plan: PilotStepPlan;
Expand All @@ -233,19 +233,20 @@ export type PilotReport = {
};

/**
* Represents the output of pilots createStepPlan method.
* @property report of pilot's actions (thoughts, actions, ect ....)
* Represents a plan for a step that the Copilot will take.
* @property action The action that the Copilot will take
* @property thoughts The thoughts of the Pilot when planning the action
*/
export type PilotStepPlan = {
action: string;
thoughts: string;
};

/**
* Represents the output of screen capturer createStepPlan method.
* @property snapshot of the currnet screen or undeifned
* @property view hierarchy of the current screen
* @property boolean indicating if snapshot is supported or not
* Represents the output a screen capture method.
* @property snapshot of the current screen or undefined
* @property viewHierarchy of the current screen
* @property isSnapshotImageAttached if the snapshot image is attached
*/
export type ScreenCapturerResult = {
snapshot: string | undefined;
Expand Down

0 comments on commit f158eb1

Please sign in to comment.