Skip to content

Fix development build#68

Open
adamgoth wants to merge 4 commits intoMorpheusAIs:developmentfrom
adamgoth:fix-development-build
Open

Fix development build#68
adamgoth wants to merge 4 commits intoMorpheusAIs:developmentfrom
adamgoth:fix-development-build

Conversation

@adamgoth
Copy link

@adamgoth adamgoth commented May 21, 2024

I encountered several errors trying to build the app on the development branch. This PR addresses those.

  • Update webpack module rules to fix webpack build failures
  • Fixes early terminated string in prompts.ts
  • Fixes incorrect name of function imports from ./rag in ollama.ts
  • Fixes type error when creating chain in askOllamaRAG function
  • Updates parsing of json string response in frontend/utils/utils.ts
  • Handles errors when parsing JSON

The development branch should now build without errors and correctly display a response from ollama.

@adamgoth
Copy link
Author

I saw the Windows build failed again. It looks related to this line: https://github.com/MorpheusAIs/Lite-Client/pull/51/files

It appears the intention was to make loadingGif undefined, but instead a string value of 'undefined' was used, so it's looking for a gif by that name that doesn't exist. I pushed an update to remove the single quotes, which should hopefully fix the build.

@adamgoth
Copy link
Author

Looks like a network issue of some kind in the latest run

Screenshot 2024-05-29 at 9 21 58 PM

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.

1 participant

Comments