Canner / WrenAI

🚀 Open-source SQL AI Agent for Text-to-SQL. Make Text2SQL Easy! 🙌
https://getwren.ai/oss
GNU Affero General Public License v3.0
1.73k stars 155 forks source link

fix(wren-ai-service): modify the env ibis service in the dev env example #517

Closed paopa closed 2 months ago

paopa commented 2 months ago

This PR aims to fix an issue with the following format. The string after the equal sign is used as the value for the environment variable, causing a problem where Python imports the module and assumes the default value, regardless of whether the class is used. As a result, the connection info environment variable would be decoded and converted to JSON, leading to an error.

WREN_IBIS_MANIFEST= # this is a base64 encoded string of the MDL
WREN_IBIS_CONNECTION_INFO= # this is a base64 encode string of the connection info
paopa commented 2 months ago

I suggest LANGFUSE_ENABLE is false by default, and the LOGGING_LEVLE is DEBUG by default. What do you think?

it works to me. thanks for the suggestion.