forked from AkkomaGang/akkoma
common_fixes: Force inserting context and context_id
This commit is contained in:
parent
a142da3e4f
commit
b960cede9a
1 changed files with 2 additions and 2 deletions
|
@ -11,8 +11,8 @@ def fix_defaults(data) do
|
|||
Utils.create_context(data["context"] || data["conversation"])
|
||||
|
||||
data
|
||||
|> Map.put_new("context", context)
|
||||
|> Map.put_new("context_id", context_id)
|
||||
|> Map.put("context", context)
|
||||
|> Map.put("context_id", context_id)
|
||||
end
|
||||
|
||||
def fix_attribution(data) do
|
||||
|
|
Loading…
Reference in a new issue