Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
collindutter committed Dec 20, 2024
1 parent b96de65 commit c0c898f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions griptape/tasks/prompt_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
if TYPE_CHECKING:
from schema import Schema

from griptape.drivers import BasePromptDriver
from griptape.memory import TaskMemory
from griptape.memory.structure.base_conversation_memory import BaseConversationMemory
from griptape.structures import Structure
Expand All @@ -35,7 +34,7 @@ class PromptTask(BaseTask, RuleMixin, ActionsSubtaskOriginMixin):
# Stop sequence for chain-of-thought in the framework. Using this "token-like" string to make it more unique,
# so that it doesn't trigger on accident.
RESPONSE_STOP_SEQUENCE = "<|Response|>"
prompt_driver: BasePromptDriver = field(
prompt_driver: str = field(
default=Factory(lambda: Defaults.drivers_config.prompt_driver), kw_only=True, metadata={"serializable": True}
)
generate_system_template: Callable[[PromptTask], str] = field(
Expand Down

0 comments on commit c0c898f

Please sign in to comment.