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

Function _add_to_set

fastchat/serve/openai_api_server.py:260–266  ·  view source on GitHub ↗
(s, new_stop)

Source from the content-addressed store, hash-verified

258
259
260def _add_to_set(s, new_stop):
261 if not s:
262 return
263 if isinstance(s, str):
264 new_stop.add(s)
265 else:
266 new_stop.update(s)
267
268
269async def get_gen_params(

Callers 1

get_gen_paramsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…