danielmiessler/Fabric
danielmiessler/Fabric
Activity
Last release
Open issues
Open PRs
License
release notes
release notes
Published 3 weeks ago
PatchContains breaking changesChatter.Send by introducing recordFirstStreamError(), which uses a non-blocking select/default to safely send only the first error to the buffered error channel, preventing goroutine leaks when both the SendStream goroutine and the stream-update loop attempt to write simultaneously.StrategyName through to GetChatter() and ChatRequest, ensuring the core Chatter.BuildSession() layer handles strategy loading consistently instead of duplicating logic in the server handler.os.ReadFile strategy loading from the server handler, which previously bypassed the core Chatter layer, causing strategy prompts to be incorrectly prepended to UserInput rather than the system message.joinPromptSections() helper that trims whitespace, skips empty sections, and joins strategy, context, and pattern prompts with a single newline separator.TestChatter_Send_StreamingErrorUpdateAndReturnDoesNotDeadlock), a session-assembly validation test (TestChatter_BuildSession_SeparatesSystemSections), and a helper verification test (TestBuildPromptChatRequest_PreservesStrategyAndUserInput).release notes
Published 3 weeks ago
PatchContains breaking changesChatter.Send by introducing recordFirstStreamError(), which uses a non-blocking select/default to safely send only the first error to the buffered error channel, preventing goroutine leaks when both the SendStream goroutine and the stream-update loop attempt to write simultaneously.StrategyName through to GetChatter() and ChatRequest, ensuring the core Chatter.BuildSession() layer handles strategy loading consistently instead of duplicating logic in the server handler.os.ReadFile strategy loading from the server handler, which previously bypassed the core Chatter layer, causing strategy prompts to be incorrectly prepended to UserInput rather than the system message.joinPromptSections() helper that trims whitespace, skips empty sections, and joins strategy, context, and pattern prompts with a single newline separator.TestChatter_Send_StreamingErrorUpdateAndReturnDoesNotDeadlock), a session-assembly validation test (TestChatter_BuildSession_SeparatesSystemSections), and a helper verification test (TestBuildPromptChatRequest_PreservesStrategyAndUserInput).Fabric is an open-source framework for augmenting humans using AI. It provides a modular system for solving specific problems using a crowdsourced set of AI prompts that can be used anywhere.