MCPcopy
hub / github.com/lm-sys/FastChat / dict

Method dict

fastchat/serve/gradio_web_server.py:105–113  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

103 return self.conv.to_gradio_chatbot()
104
105 def dict(self):
106 base = self.conv.dict()
107 base.update(
108 {
109 "conv_id": self.conv_id,
110 "model_name": self.model_name,
111 }
112 )
113 return base
114
115
116def set_global_vars(controller_url_, enable_moderation_):

Callers 9

vote_last_responseFunction · 0.45
bot_responseFunction · 0.45
vote_last_responseFunction · 0.45
vote_last_responseFunction · 0.45
create_error_responseFunction · 0.45
create_chat_completionFunction · 0.45
create_completionFunction · 0.45
create_embeddingsFunction · 0.45
chat_loopFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected