-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #175 from l3vels/feat/stop-execution
Feat: add stop generating feature
- Loading branch information
Showing
19 changed files
with
317 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
fragment ConfigFragment on Config { | ||
id | ||
key | ||
value | ||
key_type | ||
is_secret | ||
is_required | ||
agent_id | ||
toolkit_id | ||
datasource_id | ||
team_id | ||
account_id | ||
workspace_id | ||
session_id | ||
is_deleted | ||
created_by | ||
modified_by | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,7 @@ | ||
query getConfigs @api(name: "ai") { | ||
getConfigs @rest(type: "Config", path: "/config", method: "GET", endpoint: "ai") { | ||
id | ||
key | ||
value | ||
key_type | ||
is_secret | ||
is_required | ||
agent_id | ||
toolkit_id | ||
datasource_id | ||
team_id | ||
account_id | ||
workspace_id | ||
is_deleted | ||
created_by | ||
modified_by | ||
#import "./configFragment.gql" | ||
|
||
query configs @api(name: "ai") { | ||
configs @rest(type: "Config", path: "/config", method: "GET", endpoint: "ai") { | ||
...ConfigFragment | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,8 @@ | ||
#import "./configFragment.gql" | ||
|
||
mutation createConfig($input: input!) @api(name: ai) { | ||
createConfig(input: $input) | ||
@rest(type: "Config", path: "/config", method: "POST", bodyKey: "input", endpoint: "ai") { | ||
id | ||
key | ||
value | ||
key_type | ||
is_secret | ||
is_required | ||
agent_id | ||
toolkit_id | ||
datasource_id | ||
team_id | ||
account_id | ||
workspace_id | ||
is_deleted | ||
created_by | ||
modified_by | ||
...ConfigFragment | ||
} | ||
} |
Oops, something went wrong.