danny-avila / LibreChat

Enhanced ChatGPT Clone: Features Anthropic, AWS, OpenAI, Assistants API, Azure, Groq, o1, GPT-4o, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, langchain, DALL-E-3, ChatGPT Plugins, OpenAI Functions, Secure Multi-User System, Presets, completely open-source for self-hosting. Actively in public development.
https://librechat.ai/
MIT License
18.35k stars 3.08k forks source link

[Bug]: Numbers Displayed as "a" Character Instead of Actual Values #4527

Closed rio2dev closed 2 hours ago

rio2dev commented 2 hours ago

What happened?

When numerical values are expected to be displayed, only the character "a" is shown instead.

Visual representation in the frontend:

I see in frontend this: image

When copying the message using the copy button, this is what appears: image

Steps to Reproduce

1) Prompt: Please give me a random list with numeric centuries in Latvian.

What browsers are you seeing the problem on?

Chrome

Relevant log output

No response

Screenshots

No response

Code of Conduct

danny-avila commented 2 hours ago

Tried it several times, the issue couldn't be reproduced:

image

danny-avila commented 2 hours ago

The content is:

image

The markdown rendering will output an ordered list with any kind of list numeration and this is expected behavior

Note that even GitHub functions this way, and it makes my message appear incorrect so i had to attach an image

rio2dev commented 2 hours ago

It seams we have some different AI attribute values. Could you please use my edited prompt for Claude 3.5 Sonnet: Please give me a numeric list with a random numeric centuries in Latvian language.

rio2dev commented 1 hour ago

IDK, could you please tell, should I add a new bug report with fixed prompt and screenshots?

danny-avila commented 1 hour ago

I used claude-3.5-sonnet

danny-avila commented 1 hour ago

Try adding the text to a github comment (here) as text, and you will see how markdown tends to get rendered

rio2dev commented 1 hour ago

Here's a numeric list with random centuries in Latvian:

    1. gadsimts
    1. gadsimts
    1. gadsimts
    1. gadsimts
    1. gadsimts
    1. gadsimts
    1. gadsimts
    1. gadsimts
    1. gadsimts
    1. gadsimts

Note: In Latvian, "gadsimts" means "century."

rio2dev commented 1 hour ago

Noo. :D

Github gives now other values. :/

rio2dev commented 1 hour ago

Expected values was:

    1. gadsimts
    1. gadsimts
    1. gadsimts etc.
rio2dev commented 1 hour ago

No way. Github also changes my text.

Here is my original expected values: image