AgentGPT icon indicating copy to clipboard operation
AgentGPT copied to clipboard

📝 i18n Support

Open Cs4K1Sr4C opened this issue 2 years ago • 6 comments

-🌐 Added translations

-🌟 Improved the quality of already existing prompts.

-🆕 Introducing two new prompts:

  1. "Agent Prompt Creator" prompt for generate prompt which creates an Agent
  2. "Agent Creator" prompt based on its build-up prompt

-🆕 Added an input field to which allows the user to set the Agent's language. (Default agent's language is the browser's detected language; the language is changeable by entering the desired language and it's going to be processed in each prompt)

  • Security improvements:
    1. CSRFToken
    2. Session Fixation

Cs4K1Sr4C avatar Apr 21 '23 00:04 Cs4K1Sr4C

@Cs4K1Sr4C is attempting to deploy a commit to the reworkd Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Apr 21 '23 00:04 vercel[bot]

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
agent-gpt ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 21, 2023 10:54pm

vercel[bot] avatar Apr 21 '23 03:04 vercel[bot]

@Cs4K1Sr4C seems to still be failing, running npm i --save-dev @types/cookie seems to have fixed it for me

awtkns avatar Apr 21 '23 06:04 awtkns

@awtkns I've just run the mentioned command and also edited the package-lock sync to enabled in .gitignore - but I don't think so that is the problem...

Cs4K1Sr4C avatar Apr 21 '23 06:04 Cs4K1Sr4C

@Cs4K1Sr4C you may want to try running npm run build locally. It seems it is now failing with:

Type error: Argument of type '{ httpOnly: boolean; sameSite: string; maxAge: number; path: string; }' is not assignable to parameter of type 'CookieSerializeOptions'.
--
09:51:06.700 | Types of property 'sameSite' are incompatible.
09:51:06.700 | Type 'string' is not assignable to type 'boolean \| "strict" \| "lax" \| "none" \| undefined'.

awtkns avatar Apr 21 '23 07:04 awtkns

@awtkns Now?

Cs4K1Sr4C avatar Apr 21 '23 18:04 Cs4K1Sr4C

Going to close this given we have the other PR merged and one more PR open for the prompt side translations

asim-shrestha avatar Apr 24 '23 01:04 asim-shrestha