u
This commit is contained in:
5
x.js
5
x.js
@@ -113,7 +113,7 @@ async function callLLMOpenAICompatible({ baseUrl, apiKey, model, system, user, t
|
||||
}
|
||||
|
||||
// AWS Bedrock client for Anthropic
|
||||
async function callLLMBedrock({ awsAccessKey, awsSecretKey, awsRegion, model, system, user, timeoutMs = 20000 }) {
|
||||
async function callLLMBedrock({ awsAccessKey, awsSecretKey, awsRegion, model, system, user }) {
|
||||
try {
|
||||
const abclient = new AnthropicBedrock({
|
||||
awsAccessKey,
|
||||
@@ -264,8 +264,7 @@ async function summarizeMostRecentCommitDE(webhookPayload = null) {
|
||||
awsRegion,
|
||||
model,
|
||||
system: systemWithDiff,
|
||||
user: prompt.user,
|
||||
timeoutMs: 20000
|
||||
user: prompt.user
|
||||
});
|
||||
} else {
|
||||
// Use OpenAI-compatible API (openai, openrouter, etc.)
|
||||
|
||||
Reference in New Issue
Block a user