seanpixel / Teenage-AGI

MIT License
896 stars 107 forks source link

Fixes #1: Make agent name configurable from env variable #5

Closed mikekelly closed 1 year ago

mikekelly commented 1 year ago

The agent name that was hardcoded had to be changed to avoid this error response I was getting from pinecone:

HTTP response body: Index name must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character

Whlist changing it I also made it optionally configurable via an env variable

mikekelly commented 1 year ago

Fixes #1

joshfryart commented 1 year ago

I will try this when I get home and let you know if this works, thank you

On Wed., Apr. 12, 2023, 8:19 a.m. Mike Kelly, @.***> wrote:

The agent name that was hardcoded also had to be changed to avoid this error response I was getting from pinecone:

HTTP response body: Index name must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character

Whlist changing it I also made it optionally configurable via an env variable

You can view, comment on, or merge this pull request online at:

https://github.com/seanpixel/Teenage-AGI/pull/5 Commit Summary

File Changes

(1 file https://github.com/seanpixel/Teenage-AGI/pull/5/files)

Patch Links:

— Reply to this email directly, view it on GitHub https://github.com/seanpixel/Teenage-AGI/pull/5, or unsubscribe https://github.com/notifications/unsubscribe-auth/AX7BSZYZEASIC76WSORAPG3XA2FTVANCNFSM6AAAAAAW3RFHIE . You are receiving this because you are subscribed to this thread.Message ID: @.***>

danwils33 commented 1 year ago

thanks. fixed it for me