feat(advice): LLM brewing advice on every observation (#14)
Build and Push Image / Build and push image (push) Successful in 9m8s
Build and Push Image / Build and push image (push) Successful in 9m8s
feat(advice): LLM brewing advice on every observation (#14)
This commit was merged in pull request #14.
This commit is contained in:
@@ -100,6 +100,13 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if run.advice %}
|
||||
<div class="advice advice--reading{% if not run.advice_ok %} advice--failed{% endif %}">
|
||||
<span class="advice__label">Brewing advice</span>
|
||||
{{ run.advice }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="btn-row">
|
||||
<a class="btn btn--ghost btn--sm"
|
||||
href="{{ url_for('brews.run_detail', run_id=run.beer_run_id) }}">Open run</a>
|
||||
|
||||
@@ -83,6 +83,7 @@
|
||||
<th class="num">Gravity</th>
|
||||
<th class="num">Est. ABV</th>
|
||||
<th>Comment</th>
|
||||
<th>Brewing advice</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -111,6 +112,13 @@
|
||||
<span class="faint">—</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td class="comment advice-cell">
|
||||
{% if run.advice %}
|
||||
<span class="advice{% if not run.advice_ok %} advice--failed{% endif %}">{{ run.advice }}</span>
|
||||
{% else %}
|
||||
<span class="faint">Thinking…</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td class="right">
|
||||
<a class="btn btn--ghost btn--sm"
|
||||
href="{{ url_for('brews.run_detail', run_id=run.beer_run_id) }}">Open</a>
|
||||
|
||||
@@ -144,6 +144,12 @@
|
||||
{% else %}
|
||||
<div class="faint tiny">No comment</div>
|
||||
{% endif %}
|
||||
{% if reading.advice %}
|
||||
<div class="advice advice--reading{% if not reading.advice_ok %} advice--failed{% endif %}">
|
||||
<span class="advice__label">Brewing advice</span>
|
||||
{{ reading.advice }}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% if reading.final_reading %}
|
||||
<span class="chip chip--done">Final</span>
|
||||
|
||||
Reference in New Issue
Block a user