Cicero-server not working offline: options are not passed to "Template.fromDirectory()" in "initTemplateInstance()" #734
Labels
Difficulty: Starter
Good First Issue
Good for newcomers
Type: Documentation 📝
Information and guides for clarification
Type: Feature Request 🛍️
New feature or request
Bug Report 🐛
When
Template.fromDirectory()
is called withininitTemplateInstance()
(inpackages/cicero-server/app.js
), the options are not passed.This in particular prevents to use
cicero-server
offline.Expected Behavior
When "offline" option is set
true
in the request body,cicero-server
does not try to update external models.Current Behavior
When "offline" option is set
true
in the request body,cicero-server
tries anyway to update external models.Steps to Reproduce
cicero-server
as explained in theReadme.md
Draft request
call (it will download external models)Possible Implementation
Change
initTemplateInstance()
with something like:The text was updated successfully, but these errors were encountered: