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

Issue Report: Inconsistent Model Identification in Puter AI Playground vs. Local Implementation #1084

Open
robadugna2 opened this issue Jan 9, 2025 · 6 comments

Comments

@robadugna2
Copy link

Hello,

I’ve encountered an inconsistency in the responses generated by the AI model when using the Puter AI Playground compared to running the same model in my local project. Below are the details of the issue:

Steps to Reproduce:

  1. In Puter AI Playground:

    • Input: "What is your model?"
    • Response: "I am Claude, an AI assistant created by Anthropic. I'm running on Puter, an open-source platform, through a driver interface called puter-chat-completion. I aim to be direct and honest about my identity and capabilities."
    • Screenshot: Link to Screenshot
  2. In Local Project:

    • Input: "What is your model?"
    • Response: "I'm based on OpenAI's GPT-3 model, which is designed for understanding and generating human-like text. If you have more specific questions or need assistance, feel free to ask!"
    • Screenshot: Link to Screenshot

Expected Behavior:

The model should consistently identify itself as either Claude (Anthropic) or GPT-3 (OpenAI) across both environments, assuming the same model and configuration are being used.

Observed Behavior:

The model identifies itself as Claude (Anthropic) in the Puter AI Playground but as GPT-3 (OpenAI) in my local project, despite using the same model and configuration.

Questions/Concerns:

  1. Is there a difference in the underlying model or configuration between the Puter AI Playground and local implementations?
  2. Could this discrepancy be due to a misconfiguration or a difference in how the model is being accessed or initialized in the two environments?
  3. Are there any additional steps or settings I should verify to ensure consistency between the Playground and my local setup?

Additional Context:

  • The screenshots provided clearly show the difference in responses.
  • I am using the same model and configuration in both environments, so the inconsistency is unexpected.

I would greatly appreciate any insights or guidance on resolving this discrepancy. Thank you for your time and assistance!

Best regards,
Robel Adugna

@KernelDeimos
Copy link
Contributor

Hi, thanks for reporting this. I just tried to reproduce the issue with a few naive approaches but was unable to, so we'll need a bit more information about this issue. My first is about the term "Local Project" - is this referring to an app on puter.com or an app under a selfhosted Puter environment? If you're running Puter's backend locally then it could be the case that you're using a user that doesn't have permission to access the claude model.

@robadugna2
Copy link
Author

thank u again! yes ofcourse i am running Puter's backend locally but even when i try to ask the same question twice inside of Puter.js Playground. some of the time it respond that it's claude and sometimes groq and etc..

@KernelDeimos
Copy link
Contributor

When you're running your local project, open the network tab and find the last request to /call (maybe it will be among the last few) that has your request to the Puter AI driver. If you share the payload here then we'll know if this has anything to do with the fallback system since we always include what model was actually used in the response.

@robadugna2
Copy link
Author

{
"interface": "puter-chat-completion",
"driver": "openai-completion",
"test_mode": false,
"method": "complete",
"args": {
"messages": [
{
"role": "user",
"content": "hi"
},
{
"role": "assistant",
"content": "Hello! How can I assist you today?"
},
{
"role": "user",
"content": "what is your model?"
}
],
"model": "gpt-4o-mini",
"stream": true
}
}

@KernelDeimos
Copy link
Contributor

Whoops, I said payload but I also need the response.

@AJcompilenet
Copy link

AJcompilenet commented Jan 13, 2025 via email

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

No branches or pull requests

3 participants