Skip to content

Commit

Permalink
Fix template
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardobl committed May 10, 2024
1 parent 700edae commit 6e1d7b2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,20 @@ def __init__(self):
},
filter={"filterByRunOn": "openagents\\/search"},
template="""{
"kind": {{meta.kind}},
"created_at": {{sys.timestamp_seconds}},
"kind": {{{meta.kind}}},
"created_at": {{{sys.timestamp_seconds}}},
"tags": [
["param","run-on", "openagents/search" ],
["param", "k", "{{in.k}}"],
["param", "normalize", "{{in.normalize}}"],
["output", "{{in.outputType}}"],
["param", "k", "{{{in.k}}}"],
["param", "normalize", "{{{in.normalize}}}"],
["output", "{{{in.outputType}}}"],
{{#in.queries}}
["i", "{{value}}", "{{type}}", "", "query"],
["i", "{{value}}", "{{{type}}}", "", "query"],
{{/in.queries}}
{{#in.indices}}
["i", "{{value}}", "{{type}}", "", "index"],
["i", "{{value}}", "{{{type}}}", "", "index"],
{{/in.indices}}
["expiration", "{{sys.expiration_timestamp_seconds}}"],
["expiration", "{{{sys.expiration_timestamp_seconds}}}"]
],
"content":""
}
Expand Down

0 comments on commit 6e1d7b2

Please sign in to comment.