Skip to content

Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.

C++

session files r3: include <memory>; Out initialised by members

Maurizio Verded0289b88baef
diff --git a/src/core/conversation_file.cpp b/src/core/conversation_file.cpp
index 398b36592..92dc73f06 100644
--- a/src/core/conversation_file.cpp
+++ b/src/core/conversation_file.cpp
@@ -1076,7 +1076,9 @@ bool write_impl(const std::string& path, const SavedConversation& image, const s
header_bytes(h, id, payload);
bool ok = f.write(h, kHeader);
SessionHasher hash(0);
- Out out{&f, &hash};
+ Out out;
+ out.f = &f;
+ out.hash = &hash;
if (ok) put_payload(out, image, sources);
ok = ok && out.ok && out.n == payload;
if (ok) {
diff --git a/src/core/conversation_snapshot.cpp b/src/core/conversation_snapshot.cpp
index 3f017a480..0ae736291 100644
--- a/src/core/conversation_snapshot.cpp
+++ b/src/core/conversation_snapshot.cpp
@@ -6,6 +6,7 @@
#include <array>
#include <cstring>
#include <limits>
+#include <memory>
namespace strata::core {
namespace {