mirror of
https://github.com/Ed1s0nZ/CyberStrikeAI.git
synced 2026-07-01 02:05:34 +02:00
13 lines
466 B
Go
13 lines
466 B
Go
package multiagent
|
|
|
|
import (
|
|
copenai "cyberstrike-ai/internal/openai"
|
|
)
|
|
|
|
// stripReasoningFromSummarizationPayload removes thinking / reasoning fields from a
|
|
// chat-completions JSON body. Applied only to summarization Generate calls via
|
|
// model.ModelOptions on the shared ChatModel — main-agent requests are unchanged.
|
|
func stripReasoningFromSummarizationPayload(rawBody []byte) ([]byte, error) {
|
|
return copenai.StripReasoningFromChatCompletionBody(rawBody)
|
|
}
|