picoclaw/pkg/config
柚子 ed618e14aa
feat(channels): support multi-message sending via split marker (#2008)
* Add multi-message sending via split marker

* Add marker and length split integration tests

Tests that SplitByMarker and SplitMessage work together correctly, and
that code block boundaries are preserved during marker splitting.

* Simplify message chunking logic in channel worker

Extract splitByLength helper function and remove goto-based control
flow.
The logic now flows more naturally - try marker splitting first, then
fall
back to length-based splitting.

* Update multi-message output instructions in agent context

* Add split_on_marker to config defaults

* Add split_on_marker config option

* Rename 'Multi-Message Sending' setting to 'Chatty Mode'

* Add SplitOnMarker config option
2026-03-26 01:33:49 +08:00
..
config.go feat(channels): support multi-message sending via split marker (#2008) 2026-03-26 01:33:49 +08:00
config_old.go Fix security config precedence during migration (#1984) 2026-03-25 15:29:43 +08:00
config_test.go Add virtual model support for multi-key expansion 2026-03-25 00:00:36 +08:00
defaults.go feat(channels): support multi-message sending via split marker (#2008) 2026-03-26 01:33:49 +08:00
envkeys.go refactor: centralize environment variable key constants (#1730) 2026-03-18 18:03:24 +08:00
example_security_usage.go Merge branch 'main' into fix-doc 2026-03-25 11:13:17 +08:00
migration.go refactor: seperate security.yml for store keys 2026-03-22 01:55:00 +08:00
migration_integration_test.go Fix: Prevent security.yml from being overwritten during config migration (#1966) 2026-03-24 20:02:58 +08:00
migration_test.go refactor: seperate security.yml for store keys 2026-03-22 01:55:00 +08:00
model_config_test.go refactor: seperate security.yml for store keys 2026-03-22 01:55:00 +08:00
multikey_test.go Add virtual model support for multi-key expansion 2026-03-25 00:00:36 +08:00
security.go fix(config): remove stale wecom security merge fields 2026-03-24 20:27:31 +08:00
security_integration_test.go Fix security config precedence during migration (#1984) 2026-03-25 15:29:43 +08:00
security_test.go fix(config): normalize empty security config before save/load (#1956) 2026-03-24 17:03:28 +08:00
version.go feat:Modify the location where version is obtained, and insert version information into the context (#1300) 2026-03-10 17:42:05 +08:00
version_test.go feat:Modify the location where version is obtained, and insert version information into the context (#1300) 2026-03-10 17:42:05 +08:00