Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coral_web: Add is_available check to tools #82

Merged
merged 3 commits into from
May 1, 2024

Conversation

misspia-cohere
Copy link
Contributor

@misspia-cohere misspia-cohere commented Apr 30, 2024

Description

  • disables tools that have a false is_available value
  • add tool description as tooltip, else use error_message

Screenshot 2024-05-01 at 11 13 48

@tianjing-li
Copy link
Collaborator

I think we want to show the ones that have is_available=False, but perhaps just make them red (or some other indicator that they're not selectable) and to show their error_message. And the tooltip message should use description if it's available, but use error_message if its not available. Lmk if that makes sense

Copy link
Collaborator

@tianjing-li tianjing-li left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added some feedback

Copy link
Collaborator

@tianjing-li tianjing-li left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved - ty for changing

@tianjing-li tianjing-li merged commit 44845aa into main May 1, 2024
2 checks passed
@tianjing-li tianjing-li deleted the pia/cnv-1938-filter-tools-by-is_available branch May 1, 2024 15:29
EnronMusk pushed a commit to EnronMusk/HallucinationGPT that referenced this pull request Jul 22, 2024
… and fixes (cohere-ai#76)

* readme: add Azure deploy description + single Docker improvements

* readme: add Azure deploy description + single Docker improvements

* Add Sqlite v.3.45.3 for Chroma DB

deployment: add docker compose down command in Makefile. (cohere-ai#65)

Signed-off-by: ifuryst <[email protected]>

coral_web: Add is_available check to tools (cohere-ai#82)

* add is_available check to tools

* add tool error message as tooltip

* disable unavailable tools, show error message if description does not exist

Setup: fix key error (cohere-ai#84)

docs: Update README.md links (cohere-ai#83)

Update README.md links

Some links were still pointing to the old `cohere-ia/toolkit` repository, instead of `cohere-ai/cohere-toolkit`.

docs: clarify setup env for development. (cohere-ai#64)

Signed-off-by: ifuryst <[email protected]>

coral-web: update the starter card options (cohere-ai#73)

* add new start options

* set start option prompts

* clean up

* remove welcome message

* remove notification message

* visual nits

* center start options, fade out when convo is populated

* remove streaming message check

coral-web: include conversationId in file upload (cohere-ai#85)

include conversationId in file upload

Deployment: add local model deployment option (cohere-ai#77)

* Deployment: add local model deployment option

* lint

* add tests

* lint

* fix cohere prompts

Docs: add env setup instructions (cohere-ai#88)

Cli: add dummy tests (cohere-ai#89)

* Cli: add dummy tests

* move cli to backend

backend: Set up next.js to proxy requests to the API (cohere-ai#86)

Set up next.js to proxy requests to the API

tools: Update default NEXT_PUBLIC_API_HOSTNAME for the new api routing (cohere-ai#94)

* Update default NEXT_PUBLIC_API_HOSTNAME for the new api routing

* Also update NEXT_PUBLIC_API_HOSTNAME in README and .env-template

fix: broken backend URL in cli (cohere-ai#93)

Update main.py

Co-authored-by: Tianjing Li <[email protected]>

changed logo and pager header

implemented openAI adapter

added env variable for oai key

implemented working chatgpt

1

fixed

fix

fixed conversation order bug

fixed bugs with incorrect chat history.

added exrract script

other

changes to msgs

msgRow has text duplication bug

fix?

big update

pls

close!

cool

cool

font change

big fixes for message row highlight selection now working perfectly.

small fix for code selection (remaining bug in nodes textContent tooltip)

big commit

big commit

HUGE bug fix for laggy composer !

HUGE bug fix for laggy composer !

implemented annotation prompting

less spam

working annotaiton schema setup

WORKING annotation saving!

working annotation saving in db

huge update, cookies, ua and many fixes for highlights
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants