We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have my own local server llm. How enter ip ? Actually it do not work.
BTW where these models location? They are loaded by Comfy itself or ? ....
The text was updated successfully, but these errors were encountered:
def init_client(self, address: str, api_type: str) -> Tuple[OmostLLMServer]: """Initialize LLM client with HTTP server address.""" if api_type == "OpenAI": if address.endswith("v1"): server_address = address else: server_address = os.path.join(address, "v1") model_id = "" elif api_type == "TGI": if address.endswith("v1"): server_address = address server_info_url = address.replace("v1", "info") else: server_address = os.path.join(address, "v1") server_info_url = os.path.join(address, "info") #Get model_id from server info server_info = requests.get(server_info_url, timeout=5).json() model_id = server_info["model_id"] client = OpenAI(base_url=server_address, api_key="_") return (OmostLLMServer(client, model_id),)
I think the author has not finished this code yet
Sorry, something went wrong.
No branches or pull requests
I have my own local server llm. How enter ip ? Actually it do not work.
BTW where these models location? They are loaded by Comfy itself or ? ....
The text was updated successfully, but these errors were encountered: