Skip to content

Commit

Permalink
Added forced preamble, minimap is active by default, and search now u…
Browse files Browse the repository at this point in the history
…ses v1 endpoints
  • Loading branch information
ClaytonSmith committed Aug 9, 2024
1 parent a34c024 commit 4977164
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/backend/chat/custom/langchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def chat(self, chat_request: LangchainChatRequest, **kwargs: Any) -> Any:
verbose=True,
)

raise NotImplementedError("Langchain is not yet implemented")


return self.agent_executor.stream(
{
Expand Down
1 change: 1 addition & 0 deletions src/backend/config/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,3 +187,4 @@ def get_available_tools() -> dict[ToolName, dict]:


AVAILABLE_TOOLS = get_available_tools()

Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const Content: React.FC<Props> = (props) => {
const payload = {
ids: Array.from(minimapCitationsUnique),
citationId: generationId,
search_key: parseInt((minimapCitations[0] as { fields: { search_key: string } }).fields.search_key),
search_key: parseInt((minimapCitations[0] as any ).fields.search_key),
}

// Send to parent window
Expand Down

0 comments on commit 4977164

Please sign in to comment.