Skip to content

Commit

Permalink
Log
Browse files Browse the repository at this point in the history
  • Loading branch information
BeatrixCohere committed Aug 19, 2024
1 parent 0711cc9 commit e6aa9bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/model_deployments/cohere_platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ async def invoke_chat_stream(

event_dict_log = event_dict.copy()
event_dict_log.pop("conversation_id", None)
logger.debug(
logger.info(
event=f"Chat event",
**event_dict_log,
conversation_id=ctx.get_conversation_id(),
Expand Down
1 change: 1 addition & 0 deletions src/backend/tools/google_drive/tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ async def call(self, parameters: dict, **kwargs: Any) -> List[Dict[str, Any]]:
if compass is not None:
# Compass setup found
# Query Compass
logger.info(event=f"[Google Drive] Querying Compass. {query}")
documents = []
documents = compass.invoke(
compass.ValidActions.SEARCH,
Expand Down

0 comments on commit e6aa9bc

Please sign in to comment.