Skip to content

Commit

Permalink
Merge branch 'develop' into bug/prompt-errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bedanley authored Jan 31, 2025
2 parents d7845a3 + 9105184 commit db554b0
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 7 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
# v3.5.1

## Bug Fixes

### Chat Session Management

- Resolved url redirect issue that prevented creation of new chat sessions via the New button
- Resolved intermittent loading issues when accessing historical conversations due to LangChain memory object
- Addressed error handling for LLM interactions after multiple prompts

### Document Summarization

- Fixed stability issues with document summarization functionality in existing chat sessions

### UI

-Corrected display scaling issues in Firefox for large screen resolutions

# v3.5.0
## Key Features
### User Interface Modernization
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.5.0
3.5.1
2 changes: 1 addition & 1 deletion lib/user-interface/react/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "lisa-web",
"private": true,
"version": "3.5.0",
"version": "3.5.1",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
6 changes: 3 additions & 3 deletions lib/user-interface/react/src/components/chatbot/Chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export default function Chat ({ sessionId }) {
const handleRagConfiguration = async (chainSteps: any[]) => {
const ragStep = {
input: ({ input }: { input: string }) => input,
chatHistory: () => memory.loadMemoryVariables({}),
chatHistory: () => memory.loadMemoryVariables(),
context: async (input: { input: string; chatHistory?: LisaChatMessage[] }) => {
const question = await getContextualizedQuestion(input);
const relevantDocs = await fetchRelevantDocuments(question);
Expand Down Expand Up @@ -224,7 +224,7 @@ export default function Chat ({ sessionId }) {
const handleNonRagConfiguration = (chainSteps: any[]) => {
const nonRagStep = {
input: (initialInput: any) => initialInput.input,
memory: () => memory.loadMemoryVariables({}),
memory: () => memory.loadMemoryVariables(),
context: () => fileContext || '',
humanPrefix: (initialInput: any) => initialInput.humanPrefix,
aiPrefix: (initialInput: any) => initialInput.aiPrefix,
Expand Down Expand Up @@ -396,7 +396,7 @@ export default function Chat ({ sessionId }) {

useEffect(() => {
if (selectedModel && auth.isAuthenticated) {
memory.loadMemoryVariables({}).then(async (formattedHistory) => {
memory.loadMemoryVariables().then(async (formattedHistory) => {
const promptValues = {
input: userPrompt,
history: formattedHistory.history,
Expand Down
2 changes: 1 addition & 1 deletion lisa-sdk/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires-python = ">=3.11"

[tool.poetry]
name = "lisapy"
version = "3.5.0"
version = "3.5.1"
description = "A simple SDK to help you interact with LISA. LISA is an LLM hosting solution for AWS dedicated clouds or ADCs."
authors = ["Steve Goley <[email protected]>"]
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@awslabs/lisa",
"version": "3.5.0",
"version": "3.5.1",
"description": "A scalable infrastructure-as-code solution for self-hosting and orchestrating LLM inference with RAG capabilities, providing low-latency access to generative AI and embedding models across multiple providers.",
"homepage": "https://awslabs.github.io/LISA/",
"license": "Apache-2.0",
Expand Down

0 comments on commit db554b0

Please sign in to comment.