Skip to content

Commit

Permalink
bug fix: .general(), .abstract() can not work
Browse files Browse the repository at this point in the history
  • Loading branch information
Maplemx committed Mar 18, 2024
1 parent 3476fb7 commit 5f6dd5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Request/Request.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ def __init__(
self.plugin_manager = PluginManager(parent = parent_plugin_manager)
# Namespace
self.model = RuntimeCtxNamespace("model", self.settings, return_to = self)
self.prompt_general = RuntimeCtxNamespace("prompt.general", self.request_runtime_ctx, return_to = self)
self.prompt_general = RuntimeCtxNamespace("prompt.general_instruction", self.request_runtime_ctx, return_to = self)
self.prompt_role = RuntimeCtxNamespace("prompt.role", self.request_runtime_ctx, return_to = self)
self.prompt_user_info = RuntimeCtxNamespace("prompt.user_info", self.request_runtime_ctx, return_to = self)
self.prompt_abstract = RuntimeCtxNamespace("prompt.abstract", self.request_runtime_ctx, return_to = self)
self.prompt_abstract = RuntimeCtxNamespace("prompt.headline", self.request_runtime_ctx, return_to = self)
self.prompt_chat_history = RuntimeCtxNamespace("prompt.chat_history", self.request_runtime_ctx, return_to = self)
self.prompt_input = RuntimeCtxNamespace("prompt.input", self.request_runtime_ctx, return_to = self)
self.prompt_information = RuntimeCtxNamespace("prompt.information", self.request_runtime_ctx, return_to = self)
Expand Down

0 comments on commit 5f6dd5e

Please sign in to comment.