MCPcopy
hub / github.com/fauxpilot/fauxpilot / random_completion_id

Method random_completion_id

copilot_proxy/utils/codegen.py:230–231  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

228
229 @staticmethod
230 def random_completion_id():
231 return 'cmpl-' + ''.join(random.choice(string.ascii_letters + string.digits) for _ in range(29))
232
233 def streamed_response(self, completion, choices):
234 for c in choices:

Callers 2

streamed_responseMethod · 0.95
non_streamed_responseMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected