Scheduled tasks interval, env vars, view fix
This commit is contained in:
@@ -45,8 +45,11 @@ def url_detail_view(request, id):
|
||||
url_content = {}
|
||||
|
||||
ollama = OllamaClient()
|
||||
# prompt_content = "{}\n{}\n{}".format(url_content.title, url_content.description, url_content.content)
|
||||
prompt_content = "{}".format(url_content.content)
|
||||
try:
|
||||
# prompt_content = "{}\n{}\n{}".format(url_content.title, url_content.description, url_content.content)
|
||||
prompt_content = "{}".format(url_content.content)
|
||||
except Exception as e:
|
||||
prompt_content = ""
|
||||
|
||||
context = {
|
||||
'url_item': url_item,
|
||||
|
||||
Reference in New Issue
Block a user