fix(kiro): route requests through current runtime surfaces and fix 400 REQUEST_BODY_INVALID (#3776)
This commit is contained in:
@@ -316,14 +316,11 @@ export function claudeToKiroRequest(model, body, stream, credentials) {
|
||||
conversationState: {
|
||||
chatTriggerType: "MANUAL",
|
||||
conversationId,
|
||||
agentContinuationId: continuationId,
|
||||
agentTaskType: "vibe",
|
||||
currentMessage: {
|
||||
userInputMessage,
|
||||
},
|
||||
history: canonical.history,
|
||||
},
|
||||
agentMode: "vibe",
|
||||
};
|
||||
|
||||
if (profileArn) payload.profileArn = profileArn;
|
||||
|
||||
@@ -397,8 +397,6 @@ export function openaiToKiroRequest(model, body, stream, credentials) {
|
||||
conversationState: {
|
||||
chatTriggerType: "MANUAL",
|
||||
conversationId,
|
||||
agentContinuationId: continuationId,
|
||||
agentTaskType: "vibe",
|
||||
currentMessage: {
|
||||
userInputMessage: {
|
||||
content: replayCurrent.content || "",
|
||||
@@ -414,7 +412,6 @@ export function openaiToKiroRequest(model, body, stream, credentials) {
|
||||
},
|
||||
history: canonical.history
|
||||
},
|
||||
agentMode: "vibe",
|
||||
};
|
||||
|
||||
if (profileArn) {
|
||||
|
||||
Reference in New Issue
Block a user