refactor: remove Pico and MaixCAM channels
Remove pico, pico_client and maixcam adapters, configuration and migration support. Drop Pico-specific agent publishing while preserving shared IM streaming and MQTT. Clean up channel examples and localized documentation; move shared tests to Telegram. Validated with full Go tests, vet, lint, docs checks and a Linux amd64 build.
This commit is contained in:
1 parent
6159157e47
commit
996dfefffe
74 files changed
+243
-5862
No files matched your search
@@ -78,10 +78,10 @@ func (p *Pipeline) Finalize(
|
||||
|
||||
contextUsage := computeContextUsage(ts.agent, ts.sessionKey)
|
||||
streamErr := finalizeConfiguredStreamingLLM(turnCtx, ts, exec, finalContent, contextUsage)
|
||||
// If streaming never became visible, keep the legacy Pico interim publish path
|
||||
// If streaming never became visible, publish the fallback answer
|
||||
// so the final answer is still delivered outside normal SendResponse.
|
||||
if ((streamErr != nil && !isConfiguredStreamingVisibleError(streamErr)) || exec.streamingFallback) &&
|
||||
!ts.opts.SendResponse && ts.opts.AllowInterimPicoPublish && finalContent != "" {
|
||||
!ts.opts.SendResponse && ts.opts.AllowStreaming && finalContent != "" {
|
||||
msg := outboundMessageForTurnWithOptions(ts, finalContent, outboundTurnMessageOptions{
|
||||
modelName: exec.llmModelName,
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user