Skip to content

Commit

Permalink
restored LLM selector (#1034)
Browse files Browse the repository at this point in the history
Co-authored-by: George Burton <[email protected]>
  • Loading branch information
gecBurton and George Burton authored Sep 10, 2024
1 parent 3841fa9 commit f54f5ae
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions django_app/redbox_app/templates/chats.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ <h3 class="govuk-fieldset__heading">Documents to use</h3>
</fieldset>
</document-selector>

{# Temporarily hiding the LLM selector
<div class="iai-panel govuk-!-margin-top-5 govuk-!-padding-top-3">
<label class="govuk-body-s govuk-!-font-weight-bold" for="llm-selector">Model</label>
<select id="llm-selector" name="llm" class="govuk-select govuk-!-margin-top-1">
Expand All @@ -74,7 +73,6 @@ <h3 class="govuk-fieldset__heading">Documents to use</h3>
{% endfor %}
</select>
</div>
#}

</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion tests/test_journey.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def test_user_journey(page: Page, email_address: str):
latest_chat_response = chats_page.wait_for_latest_message()
assert latest_chat_response.text
# Commented out until we make this visible
# assert chats_page.selected_llm == "gpt-4o"
assert chats_page.selected_llm == "gpt-4o"

# Give user feedback
chats_page.feedback_stars = 2
Expand Down

0 comments on commit f54f5ae

Please sign in to comment.