mirror of
https://github.com/sipeed/picoclaw.git
synced 2026-07-28 01:27:58 +00:00
WIP: Initial support for deltachat gateway
Features: - Support voice messages - Optional crossposting - Automatic account creation - Custom avatar image
This commit is contained in:
@@ -100,10 +100,15 @@ func resolveMediaRefs(
|
||||
|
||||
localPath, meta, err := store.ResolveWithMeta(ref)
|
||||
if err != nil {
|
||||
logger.WarnCF("agent", "Failed to resolve media ref", map[string]any{
|
||||
fields := map[string]any{
|
||||
"ref": ref,
|
||||
"error": err.Error(),
|
||||
})
|
||||
}
|
||||
if idx < currentTurnStart {
|
||||
logger.DebugCF("agent", "Skipped stale historical media ref", fields)
|
||||
} else {
|
||||
logger.WarnCF("agent", "Failed to resolve media ref", fields)
|
||||
}
|
||||
continue
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user