Skip to content

Commit

Permalink
update type field in ml-commons response
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Li <[email protected]>
  • Loading branch information
joshuali925 committed Sep 3, 2024
1 parent 6ab3de6 commit 9aa7e5b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/routes/query_assist/utils/agents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ export const getAgentIdByConfig = async (
method: 'GET',
path: `${ML_COMMONS_API_PREFIX}/config/${configName}`,
})) as ApiResponse<{
type: string;
type?: string;
config_type?: string;
ml_configuration?: { agent_id?: string };
configuration?: { agent_id?: string };
}>;
Expand Down

0 comments on commit 9aa7e5b

Please sign in to comment.