Skip to content

feat: expand markdown sanitization to Groq, Ollama, and HuggingFace wrappers#260

Open
Areeb455 wants to merge 3 commits into
google-deepmind:mainfrom
Areeb455:feat/expand-markdown-sanitization
Open

feat: expand markdown sanitization to Groq, Ollama, and HuggingFace wrappers#260
Areeb455 wants to merge 3 commits into
google-deepmind:mainfrom
Areeb455:feat/expand-markdown-sanitization

Conversation

@Areeb455

Copy link
Copy Markdown
Contributor

Following the successful implementation of markdown sanitization for Gemini and GPT (#259), this PR expands that robustness logic to the remaining model wrappers in contrib.

Changes:

-Implemented _strip_markdown in GroqModel, OllamaModel, and HuggingFaceModel.
-This ensures consistent behavior across all major LLM providers in the Concordia ecosystem, preventing formatting-related crashes (e.g., triple backticks) regardless of which model a researcher chooses.

@Areeb455

Copy link
Copy Markdown
Contributor Author

@jzleibo can you review these changes?

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.

1 participant