save api key

This commit is contained in:
2026-02-12 17:35:36 +08:00
parent 9d7d81c0ac
commit c7db276df5
4 changed files with 37 additions and 11 deletions

View File

@@ -6,6 +6,7 @@ export type GraphConfigListItem = {
description: string;
is_active: boolean;
tool_keys: string[];
api_key: string;
created_at?: string | null;
updated_at?: string | null;
};
@@ -21,6 +22,7 @@ export type GraphConfigReadResponse = {
prompt_set_id: string;
tool_keys: string[];
prompt_dict: Record<string, string>;
api_key: string;
};
export type GraphConfigUpsertRequest = {
@@ -29,6 +31,7 @@ export type GraphConfigUpsertRequest = {
prompt_set_id?: string;
tool_keys: string[];
prompt_dict: Record<string, string>;
api_key?: string;
};
export type GraphConfigUpsertResponse = {
@@ -37,6 +40,7 @@ export type GraphConfigUpsertResponse = {
prompt_set_id: string;
tool_keys: string[];
prompt_keys: string[];
api_key: string;
};
export type AvailableGraphsResponse = {