User: require existing user (#383)
* Change
* coral-web: make agents the default page (#300)
use agents as main pages
* GDrive Connector with Compass (#277)
* Initial
* Change
* linting
* Test
* Tests
* save initial changes
* docker compose db name
* saves
* saves
* google drive scope
* Add extra scope
* save nits
* merge branches
* add FRONTEND_HOSTNAME in cli first run
* retrieve and respond with google drive files text
* latest state
* revert change
* revert poetry.lock
* update pyproject.toml
* formatting changes
* more restrictive permission
* Fix token refresh functionality
* remove backend-logs target and revert .pre-commit.yaml
* Formatting and address comments
* udpate compass env variables
* add compass sdk
* google drive picker
* end to end GDrive with file picker
* make lint
* pass CI
---------
Co-authored-by: BeatrixCohere <128378696+BeatrixCohere@users.noreply.github.com>
* update .env.example
* revert .env.example, update .env.template
* Single container deployment
* Assistants/main - FE code cleanup (#306)
FE cleanup
* fix(frontend): tools display name
* fix(frontend): use DEPLOYMENT_SINGLE_CONTAINER default
* show tool description
* Remove model
* Change
* Google Drive picker with no reuath
* coral-web: preselect + hide read_document and search_file tools in agent form (#310)
* set default tools in agent creation
* hide file + document tools from agent form ui
* add file picker to create agent
* pass through redirect uri
* more redirect_url
* p=t
* update redirect url
* add google drive auth and picker
* fix prefetch queries
* cleanup GDrive UI implementation (#317)
* cleanup GDrive UI implementation
* cleanup GDrive UI implementation
* fix format
* delete agents
* fix routing
* send google drive file/folder ids to create agent
* fix tools sent to /chat
* fix useListAgentToolsMetadata
* Chat: add agent_id (#319)
* Chat: add agent_id
* fix be
* fix non streamed chat
* logs
* remove logs
* frontend: agent_id in request body
---------
Co-authored-by: Abigail Mackenzie-Armes <abigail@cohere.com>
* Chat: fix infinite loop (#321)
* google drive files as tools metadata
* Reverting prod targets
* fix key console error
* improvements to google drive picker
* code cleanup unused vars
* Some fixes for agents + tools (#325)
* + catching the validation error for now.
+ fix test_agent_tool_metadata
* preparing for prod target - however the next.js app frontend app doesn't start
* fix next build
* lint
---------
Co-authored-by: Rod <>
Co-authored-by: Khalil Najjar <knajjars@gmail.com>
Co-authored-by: lusmoura <luisa@cohere.com>
* chore(toolkit): cleanup and improve code for google drive file picker (#329)
* google picker custom styles
* fix create assistant with stored values
* UI nits
* add edit to agents settings
* improvements to UX
* fix(toolkit): refactor agent components to improve data flow and type-safety (#338)
* refactor agent components
* Revert changes for loading pending UI
* simplify
* finish PR
* client generate
* code feedback
* gdrive docs with compass context for updates and URL
* compass update interval
* fix comment
* unique Compass index per agent per tool
* Fixing prod target for next.js + CD for github (#334)
* Fixing prod target for next.js + CD for github
* fix build
---------
Co-authored-by: Rod <>
Co-authored-by: Tomeu Cabot <tomeu@cohere.com>
* feat(toolkit): connect update agent to update tool metadata (#342)
merge main and fix update agent to include tools metadata
* fix AgentForm
* restrict agent to artifacts + GDrive shortcut mimetype
* add compass index refresh
* fix mobile create agent
* add title in google drive search results
* chore(toolkit) merge main into assistants/main (#346)
* merge main
* format
* bring upgrade from openapi to assistants/main (#347)
* merge main
* lint
* Fix types for update agent tool metadata
* add search results event in UI
* fix(tookit): tags in chat history are getting removed after submitting (#351)
fix(toolkit): tags in chat history are getting removed after submitting
* feat(toolkit): Improve artifacts UI (#353)
* feat(toolkit): artifacts UI improvements
* remove outline
* improvements to UX
* Metrics: fix error when data is None and improve logger (#348)
* Metrics: fix error when data is None
* add logger
* set level
* remove set level
* comment
* lint
* fix dupe edit icon
* Logs: add more logs to chat (#355)
* Metrics: return sync generator (#364)
* fix(frontend): redirect on 401 (#359)
* fix: layout for urls
* fix: send onError when the finish reason isn't complete
* fix: redirect on 401
* Metrics: make everything async (#365)
* Metrics: make everything async
* remove comments
* lnit
* fix rebase
* fix generate title
* fix search conversation
* fix UI
* feat(toolkit): Dedupe links when URL is cited multiple times in the references (#371)
* feat(toolkit): Dedupe links when URL is cited multiple times in the response
* code feedback
* Make tool calls async (#373)
make tool calls async due to new async paradigm
* metrics: allow suppressing curl logs (#372)
* allow suppressing curl logs
* lint
* Fix google drive merge (#370)
* fix google drive merge
* fix format
* fix GDrive async + error handling for auth cases
* revert id
* formatting
---------
Co-authored-by: giannis <giannis@cohere.com>
* regenerate client
* add stream_search_results in StreamToolCallsGeneration
* add back stream search results UI event
* fix(toolkit): multi tool status on latest message only (#378)
* fix(toolkit): multi tool status on latest message only
* format code
* fix update panel UI
* fix(toolkit): Requests will go into pending on window visibility hidden (#379)
fix(toolkit): requests will pause on window pause
* fix(toolkit): disable file picker component for non-owners (#380)
* test sql
* backend: fix all unit tests for assistants/main (#377)
* fix agent and chat routers tests
* fix all unit tests
* remove debug statement
* fix oidc reqs in pytest
* lint fe
* fix agentForm
* support all drives plus gdrive error handling
* fix on local variable not found
* fix foreign key
* improve migration
* support gdrive without Compass
* fix tests
* escaping single quotes
* patch share drive query list
* nits on gdrive
* fix tests
* add default user
* Update docker_push_frontend.yml
* fix user tests
* Python interpreter: make call async (#386)
* omg more tests
* fix CI
* update default user id
* metrics: add event types (#376)
* dia
* move mapping code to client
* remove status code
* refactor
* disable auth strategy, fix mapping code
* lint
* fix pydantic errors
* lint
* metrics: user and agent metrics tests (#382)
* fix agent and chat routers tests
* fix all unit tests
* remove debug statement
* fix oidc reqs in pytest
* lint fe
* baby steps
* first useful test
* revert unintended change
* agents tests
* user tests
---------
Co-authored-by: Scott <scottchu@cohere.com>
* fix helper script
---------
Co-authored-by: Scott <scottchu@cohere.com>
* feat(toolkit): protect pages before rendering (#388)
feat(toolkit): protected pages
* Files: add more file types to assistants/main (#375)
* Files: support more file types and improve parsing
* comments
* comments
* fix poetry lock
* remove comments
* yet another test
* fix merge
* fix merge
* fix merge
* fix test
* fix tests
* remove comments
---------
Co-authored-by: BeatrixCohere <128378696+BeatrixCohere@users.noreply.github.com>
Co-authored-by: misspia-cohere <140425731+misspia-cohere@users.noreply.github.com>
Co-authored-by: Giannis <145396613+giannis2two@users.noreply.github.com>
Co-authored-by: giannis <giannis@cohere.com>
Co-authored-by: Khalil Najjar <knajjars@gmail.com>
Co-authored-by: Abigail Mackenzie-Armes <abigail@cohere.com>
Co-authored-by: Rod <>
Co-authored-by: rodrigue-h <4142030+rodrigue-h@users.noreply.github.com>
Co-authored-by: Tomeu Cabot <tomeu@cohere.com>
Co-authored-by: Tanzim Mokammel <20617008+mtanzim@users.noreply.github.com>
Co-authored-by: Scott <146760070+scott-cohere@users.noreply.github.com>
Co-authored-by: Scott <scottchu@cohere.com>