-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
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
Cline Support #463
base: main
Are you sure you want to change the base?
Cline Support #463
Conversation
This should be considered experimental until tester more widely by the community. I have it working with Anthropic and Ollama so far.
if not text: | ||
return [] | ||
|
||
if not cls._yaml_path: | ||
raise RuntimeError("SecretFinder not initialized.") | ||
|
||
# Convert list to string if necessary (needed for Cline, which sends a list of strings) | ||
if isinstance(text, list): | ||
text = "\n".join(str(line) for line in text) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is converted to string to be later split to an array? Seems redundant. Maybe you want to pass it as-is if it's already an array?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
totally agree, trying to recall why I put that there now. Anyhow, removed in last commit as tested without it and all seems well
response = await client.get(f"{self.base_url}/api/tags") | ||
return response.json() | ||
|
||
@self.router.post(f"/{self.provider_route_name}/api/show") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this seems unrelated to cline support?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The route or use of ollama?
I should add LMStudio, the latest Cline release supports setting a BaseURL |
This should be considered experimental until tested more widely by the community.
I have it working with Anthropic and Ollama so far.