Skip to content

Commit

Permalink
Disable new_newsarticle
Browse files Browse the repository at this point in the history
Update PaperMod
  • Loading branch information
houfu committed Apr 7, 2024
1 parent 2469e10 commit 011bd29
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions sg_law_cookies/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,11 @@ def get_summaries(articles: list[ScrapedArticle]):

day_messages.append(llm_message_prompt.format(summary=result.summary))

requests.post(
"https://cookies.your-amicus.app/sg-law-cookies-func/zeeker_support/new_newsarticle",
json={"content": result.model_dump_json()},
headers={"Content-Type": "application/json"},
)
# requests.post(
# "https://cookies.your-amicus.app/sg-law-cookies-func/zeeker_support/new_newsarticle",
# json={"content": result.model_dump_json()},
# headers={"Content-Type": "application/json"},
# )

day_summary_template = """As an expert poet, your challenge is to craft a succinct yet vivid poem of no more than
six lines. This poem should encapsulate the essence of the multiple news summaries previously provided.
Expand Down
2 changes: 1 addition & 1 deletion site/themes/PaperMod
Submodule PaperMod updated 46 files
+1 −1 .github/ISSUE_TEMPLATE/bug_report.md
+1 −1 .github/ISSUE_TEMPLATE/config.yml
+0 −7 .github/ISSUE_TEMPLATE/new-blank-issue.md
+7 −0 .github/ISSUE_TEMPLATE/proposal.md
+0 −17 .github/stale.yml
+4 −7 .github/workflows/gh-pages.yml
+1 −1 LICENSE
+11 −8 README.md
+3 −5 assets/css/common/main.css
+7 −3 assets/css/common/post-entry.css
+20 −15 assets/css/common/post-single.css
+5 −4 assets/css/common/profile-mode.css
+1 −1 assets/css/core/license.css
+2 −2 assets/css/core/theme-vars.css
+6 −0 assets/css/core/zmedia.css
+0 −63 assets/css/hljs/an-old-hope.min.css
+24 −0 assets/css/includes/chroma-mod.css
+86 −0 assets/css/includes/chroma-styles.css
+2 −2 assets/css/includes/scroll-bar.css
+0 −44 assets/js/highlight.min.js
+1 −1 assets/js/license.js
+33 −0 i18n/cs.yaml
+33 −0 i18n/pa.yaml
+33 −0 i18n/pnb.yaml
+33 −0 i18n/ro.yaml
+33 −0 i18n/sk.yaml
+10 −3 layouts/_default/archives.html
+2 −2 layouts/_default/baseof.html
+11 −4 layouts/_default/list.html
+58 −26 layouts/_default/rss.xml
+11 −4 layouts/_default/single.html
+1 −1 layouts/partials/breadcrumbs.html
+6 −5 layouts/partials/cover.html
+5 −18 layouts/partials/head.html
+1 −1 layouts/partials/header.html
+1 −1 layouts/partials/home_info.html
+1 −1 layouts/partials/index_profile.html
+66 −52 layouts/partials/share_icons.html
+4 −3 layouts/partials/social_icons.html
+69 −4 layouts/partials/svg.html
+47 −0 layouts/partials/templates/_funcs/get-page-images.html
+20 −13 layouts/partials/templates/opengraph.html
+7 −2 layouts/partials/templates/schema_json.html
+24 −19 layouts/partials/templates/twitter_cards.html
+2 −2 layouts/partials/toc.html
+1 −1 theme.toml

0 comments on commit 011bd29

Please sign in to comment.