Skip to content
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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Cline Support #463

wants to merge 1 commit into from

Conversation

lukehinds
Copy link
Contributor

@lukehinds lukehinds commented Dec 28, 2024

This should be considered experimental until tested more widely by the community.

I have it working with Anthropic and Ollama so far.

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)
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants