Properly renamed single_shot_entry to single_entry
This commit is contained in:
@@ -13,7 +13,7 @@ from .parse_error_entry import ParseErrorEntry
|
||||
from .read_entry import ReadEntry
|
||||
from .reasoning_entry import ReasoningEntry
|
||||
from .repeat_entry import RepeatEntry
|
||||
from .single_shot_entry import SingleShotEntry
|
||||
from .single_entry import SingleEntry
|
||||
from .write_entry import WriteEntry
|
||||
|
||||
class ResponseParser:
|
||||
@@ -125,11 +125,11 @@ class ResponseParser:
|
||||
return ParseErrorEntry(xml, "Repeat entry missing script content", entry_id, timestamp)
|
||||
return RepeatEntry(content, entry_id, timestamp)
|
||||
|
||||
elif root.tag == 'single_shot':
|
||||
elif root.tag == 'single':
|
||||
# Create single shot script entry
|
||||
if not content:
|
||||
return ParseErrorEntry(xml, "Single shot entry missing script content", entry_id, timestamp)
|
||||
return SingleShotEntry(content, entry_id, timestamp)
|
||||
return SingleEntry(content, entry_id, timestamp)
|
||||
|
||||
elif root.tag == 'reasoning':
|
||||
# Create reasoning entry
|
||||
|
||||
Reference in New Issue
Block a user