mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-19 08:28:10 +02:00
feat: add AWS Bedrock support
This commit is contained in:
parent
1604e306ec
commit
fe84f086ba
30 changed files with 546 additions and 195 deletions
|
|
@ -1242,7 +1242,10 @@ export const getCurrentPeriodUsageApiV1OrganizationsUsageCurrentPeriodGet = <Thr
|
|||
|
||||
/**
|
||||
* Get Mps Credits
|
||||
* Get usage and quota from MPS for the user's configured Dograh service keys.
|
||||
* Get aggregated usage and quota from MPS.
|
||||
*
|
||||
* OSS users: queries by provider_id (created_by).
|
||||
* Hosted users: queries by organization_id.
|
||||
*/
|
||||
export const getMpsCreditsApiV1OrganizationsUsageMpsCreditsGet = <ThrowOnError extends boolean = false>(options?: Options<GetMpsCreditsApiV1OrganizationsUsageMpsCreditsGetData, ThrowOnError>) => {
|
||||
return (options?.client ?? _heyApiClient).get<GetMpsCreditsApiV1OrganizationsUsageMpsCreditsGetResponse, GetMpsCreditsApiV1OrganizationsUsageMpsCreditsGetError, ThrowOnError>({
|
||||
|
|
|
|||
|
|
@ -1238,7 +1238,7 @@ export type UpdateToolRequest = {
|
|||
};
|
||||
|
||||
export type UpdateWorkflowRequest = {
|
||||
name: string;
|
||||
name?: string | null;
|
||||
workflow_definition?: {
|
||||
[key: string]: unknown;
|
||||
} | null;
|
||||
|
|
@ -1266,16 +1266,16 @@ export type UsageHistoryResponse = {
|
|||
|
||||
export type UserConfigurationRequestResponseSchema = {
|
||||
llm?: {
|
||||
[key: string]: string | number | Array<string>;
|
||||
[key: string]: string | number | Array<string> | null;
|
||||
} | null;
|
||||
tts?: {
|
||||
[key: string]: string | number | Array<string>;
|
||||
[key: string]: string | number | Array<string> | null;
|
||||
} | null;
|
||||
stt?: {
|
||||
[key: string]: string | number | Array<string>;
|
||||
[key: string]: string | number | Array<string> | null;
|
||||
} | null;
|
||||
embeddings?: {
|
||||
[key: string]: string | number | Array<string>;
|
||||
[key: string]: string | number | Array<string> | null;
|
||||
} | null;
|
||||
test_phone_number?: string | null;
|
||||
timezone?: string | null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue