File tree Expand file tree Collapse file tree
packages/typescript/ai-bedrock/src/text Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- export interface BedrockMCPOptions {
2- /**
3- * MCP servers to be utilized in this request
4- * Maximum of 20 servers
5- */
6- mcp_servers ?: Array < MCPServer >
7- }
8-
91export interface BedrockStopSequencesOptions {
102 /**
113 * Custom text sequences that will cause the model to stop generating.
@@ -44,18 +36,7 @@ export interface BedrockInferenceConfig {
4436 stopSequences ?: Array < string >
4537}
4638
47- export interface MCPServer {
48- name : string
49- url : string
50- type : 'url'
51- authorization_token ?: string | null
52- tool_configuration : {
53- allowed_tools ?: Array < string > | null
54- enabled ?: boolean | null
55- } | null
56- }
57-
58- export type BedrockTextProviderOptions = BedrockMCPOptions &
39+ export type BedrockTextProviderOptions =
5940 BedrockStopSequencesOptions &
6041 BedrockThinkingOptions &
6142 BedrockSamplingOptions & {
You can’t perform that action at this time.
0 commit comments