mirror of
https://github.com/kmein/niveum
synced 2026-03-20 20:01:08 +01:00
radio-news: expire earlier
This commit is contained in:
@@ -65,7 +65,7 @@ in {
|
|||||||
|
|
||||||
RESPONSE=$(echo "$REQUEST" | curl "https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash-8b:generateContent?key=$GEMINI_API_KEY" -s -H "Content-Type: application/json" -d @-)
|
RESPONSE=$(echo "$REQUEST" | curl "https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash-8b:generateContent?key=$GEMINI_API_KEY" -s -H "Content-Type: application/json" -d @-)
|
||||||
|
|
||||||
echo "$RESPONSE" | jq --arg from "$(date -u -Is | sed 's/+00:00/Z/')" --arg to "$(date -u -Is -d 'next hour' | sed 's/+00:00/Z/')" '
|
echo "$RESPONSE" | jq --arg from "$(date -u -Is | sed 's/+00:00/Z/')" --arg to "$(date -u -Is -d 'now + 30 minutes' | sed 's/+00:00/Z/')" '
|
||||||
{
|
{
|
||||||
from: $from,
|
from: $from,
|
||||||
to: $to,
|
to: $to,
|
||||||
|
|||||||
Reference in New Issue
Block a user