Update src/promptings/DebateCoder.py
Browse files
src/promptings/DebateCoder.py
CHANGED
|
@@ -56,7 +56,7 @@ class DebateCoder(BaseStrategy):
|
|
| 56 |
|
| 57 |
def log_response(self, response: str, stage: str, item: dict):
|
| 58 |
"""记录响应到日志文件"""
|
| 59 |
-
log_file = os.path.join(self.log_dir, f"
|
| 60 |
|
| 61 |
try:
|
| 62 |
with open(log_file, "a", encoding="utf-8") as f:
|
|
|
|
| 56 |
|
| 57 |
def log_response(self, response: str, stage: str, item: dict):
|
| 58 |
"""记录响应到日志文件"""
|
| 59 |
+
log_file = os.path.join(self.log_dir, f"DebateCoder_{self.model.__class__.__name__}_responses.log")
|
| 60 |
|
| 61 |
try:
|
| 62 |
with open(log_file, "a", encoding="utf-8") as f:
|