MCPcopy Create free account
hub / github.com/T-duality/PillOCR-python / set_provider

Method set_provider

GPTOCRGUI.py:52–54  ·  view source on GitHub ↗

设置当前服务商

(self, provider)

Source from the content-addressed store, hash-verified

50 self.max_tokens = max_tokens
51
52 def set_provider(self, provider):
53 """设置当前服务商"""
54 self.current_provider = provider
55
56 def set_api_key(self, api_key):
57 if not api_key:

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected