Skip to content

Conversation

@icowan
Copy link

@icowan icowan commented Apr 24, 2024

Why are these changes needed?

Solve the compatibility problem of SeparatorStyle.CHATML type messes field

/usr/local/lib/python3.10/dist-packages/fastchat/conversation.py", line 197, in get_prompt
ERROR | stderr | ret += role + ":" + message + seps[i % 2] + "\n"
ERROR | stderr | TypeError: can only concatenate str (not "NoneType") to str

Checks

  • I've run format.sh to lint the changes in this PR.
  • I've included any doc changes needed.
  • I've made sure the relevant tests are passing (if applicable).

Michaelvll and others added 30 commits April 18, 2024 10:46
…field

Solve the compatibility problem of SeparatorStyle.CHATML type messes field

/usr/local/lib/python3.10/dist-packages/fastchat/conversation.py", line 197, in get_prompt
ERROR | stderr |     ret += role + ":" + message + seps[i % 2] + "\n"
 ERROR | stderr | TypeError: can only concatenate str (not "NoneType") to str
Solve the compatibility problem of SeparatorStyle.CHATML type messes …
UI Improvements: unified link color, removed link underline, made win…
# Conflicts:
#	fastchat/conversation.py
# Conflicts:
#	fastchat/conversation.py
#	fastchat/serve/openai_api_server.py
# Conflicts:
#	docs/arena.md
#	fastchat/conversation.py
#	fastchat/serve/gradio_block_arena_anony.py
#	fastchat/serve/gradio_block_arena_named.py
#	fastchat/serve/gradio_block_arena_vision.py
#	fastchat/serve/gradio_block_arena_vision_anony.py
#	fastchat/serve/gradio_block_arena_vision_named.py
#	fastchat/serve/gradio_web_server.py
#	fastchat/utils.py
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