• dotdoc

    (@dotdoc)


    Hello!

    When I use OpenRouter API key with a free ai model in Express mode I get very good content results.

    However when I switch to Custom mode and set the same parameters (OpenRouter – Google Gemma 7B (free) for example) I get an error while generating Titles, sections etc.

    Error message:
    “You are either out of credits, or requesting a resource that requires owning least a few. Please visit https://openrouter.ai/credits to add more..”

    Do I need credits for Custom Mode of Content Writer to work. Or do I overlook a setting?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author senols

    (@senols)

    Hi @dotdoc,

    I just tried the same model using both Express mode and Custom mode, and it worked fine for both.

    Here’s the information from the OpenRouter site regarding their free models:

    Free limit: If you’re using a free model variant (with an ID ending in :free), you’re limited to 20 requests per minute and 200 requests per day.

    https://openrouter.ai/docs/limits

    Is it possible that you’re exceeding this daily limit?

    Thread Starter dotdoc

    (@dotdoc)

    I most likely do not exceed the limits, afaik.
    Did you try it with zero credits in your account?

    I tested mine with the default 2024 theme and all other plugins deactivated, a new Openrouter.ai API key and Gemma 7B (free) selected.
    Express mode, AI forms, Prompt base etc work without error. There are no errors in debug.log or ai power log.

    I noticed that the Custom Mode Default Template parameters (AI Power -> Content Writer -> Custom Mode -> Parameters) do not reflect the general settings (AI Power -> Settings -> AI Engine -> Provider / other). Is that as intended or could it be that some settings are not synced?
    I have to set all parameters each time I go to Custom Mode or choose to save them as a Custom Template. Settings: Openrouter, Gemma 7B (free), Temp 0.7, max length 3000, Freq/Pres Penalty/Top P 0.1, Topic: ‘Sports’. Question: ‘suggest (3) titles’.

    BTW, I also installed and tested the plugin at: https://playground.wordpress.net/?networking=yes . That gave me another (I suppose unrelated) error:
    “The model predicted a completion that begins with a stop sequence, resulting in no output. Consider adjusting your prompt or stop sequences.”

    Plugin Author senols

    (@senols)

    Hi @dotdoc,

    Apologies for the delayed response.

    I created a new account on OpenRouter and tested it with zero credits, and it’s still working fine for me. This is unusual because, in custom mode, all parameters are pulled directly from the template settings. So whatever is configured there should be used when sending the request to the API.

    Are you still experiencing the issue? Let me know, and we can investigate further.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Content Writer -> Custom mode problem’ is closed to new replies.