Skip to content

style:refactor the gradio UI code #42

Merged
Umpire2018 merged 5 commits intoOpenBMB:chat_with_repofrom
innovation64:feature/issue-25/create-chat-with-repo-compoent
Jan 21, 2024
Merged

style:refactor the gradio UI code #42
Umpire2018 merged 5 commits intoOpenBMB:chat_with_repofrom
innovation64:feature/issue-25/create-chat-with-repo-compoent

Conversation

@innovation64
Copy link
Copy Markdown
Collaborator

  • fix : fix query return space bug
  • style : add two columns for checking
  • feat: add unit test

Comment thread tests/test_main.py

@patch('your_script.RepoAssistant')
@patch('your_script.GradioInterface')
@patch('your_script.load_config')
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does your_script means?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's the python file which contains the class, for RepoAssistant is rag.py etc

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you share test result?

@Umpire2018 Umpire2018 merged commit 36096f1 into OpenBMB:chat_with_repo Jan 21, 2024
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.

2 participants