diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-06-02 14:09:50 -0400 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-06-02 14:09:50 -0400 |
commit | e627b99a89d346d7ad88947182d110c4aeb3272f (patch) | |
tree | 09f0bd1cbfdec05615870d01a8cedeb7eb4afc51 /extension/schema/History.d.ts | |
parent | 22c420cbf26293e145def3e90e7132b4a337a5a5 (diff) | |
parent | a6a66f8a8b42eca861b05d6e7ccc0d0c2cfc8706 (diff) | |
download | sncontinue-e627b99a89d346d7ad88947182d110c4aeb3272f.tar.gz sncontinue-e627b99a89d346d7ad88947182d110c4aeb3272f.tar.bz2 sncontinue-e627b99a89d346d7ad88947182d110c4aeb3272f.zip |
Merge branch 'main' into docs
Diffstat (limited to 'extension/schema/History.d.ts')
-rw-r--r-- | extension/schema/History.d.ts | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/extension/schema/History.d.ts b/extension/schema/History.d.ts new file mode 100644 index 00000000..508deaf0 --- /dev/null +++ b/extension/schema/History.d.ts @@ -0,0 +1,41 @@ +/* eslint-disable */ +/** + * This file was automatically generated by json-schema-to-typescript. + * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, + * and run json-schema-to-typescript to regenerate this file. + */ + +export type History = History1; +export type Name = string; +export type Hide = boolean; +export type SystemMessage = string; +export type Depth = number; +export type Timeline = HistoryNode[]; +export type CurrentIndex = number; + +/** + * A history of steps taken and their results + */ +export interface History1 { + timeline: Timeline; + current_index: CurrentIndex; + [k: string]: unknown; +} +/** + * A point in history, a list of which make up History + */ +export interface HistoryNode { + step: Step; + observation?: Observation; + depth: Depth; + [k: string]: unknown; +} +export interface Step { + name?: Name; + hide?: Hide; + system_message?: SystemMessage; + [k: string]: unknown; +} +export interface Observation { + [k: string]: unknown; +} |