diff --git a/pyproject.toml b/pyproject.toml index 89512f4f..08b4fc06 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -97,7 +97,6 @@ include-package-data = true [tool.setuptools.package-data] "*" = ["py.typed", "**/*.yaml", "**/*.json"] "reme.components.tokenizer" = ["stopwords"] -"reme.steps.compaction" = ["LICENSE.compaction"] [tool.setuptools.dynamic] version = { attr = "reme.__version__" } diff --git a/reme/steps/compaction/LICENSE.compaction b/reme/steps/compaction/LICENSE.compaction deleted file mode 100644 index bf0741ff..00000000 --- a/reme/steps/compaction/LICENSE.compaction +++ /dev/null @@ -1,24 +0,0 @@ -Algorithm portions adapted from https://github.com/tamaratran/fast-jev-compaction -Reference commit: e3f262a - -MIT License - -Copyright (c) 2025 - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/reme/steps/compaction/messages.py b/reme/steps/compaction/messages.py index 9b06b558..8bedc774 100644 --- a/reme/steps/compaction/messages.py +++ b/reme/steps/compaction/messages.py @@ -1,7 +1,4 @@ -"""Pair and rebuild AgentScope blocks without rewriting conversation text. - -Algorithm attribution and MIT license: see LICENSE.compaction. -""" +"""Pair and rebuild AgentScope blocks without rewriting conversation text.""" from collections import defaultdict from copy import deepcopy diff --git a/reme/steps/compaction/state.py b/reme/steps/compaction/state.py index 472ab562..559e8ee4 100644 --- a/reme/steps/compaction/state.py +++ b/reme/steps/compaction/state.py @@ -1,7 +1,4 @@ -"""Bound the decision model's observation view without changing output messages. - -Algorithm attribution and MIT license: see LICENSE.compaction. -""" +"""Bound the decision model's observation view without changing output messages.""" import json import re