tabby-ai / tabby_flutter_inapp_sdk

MIT License
2 stars 14 forks source link

error when create session #21

Closed mahmoudshaaban0 closed 1 month ago

mahmoudshaaban0 commented 5 months ago

every time i use flutter tabby sdk it give me an error here session create status: 302 server exception

kuznetsov-from-wonderland commented 1 month ago

You should have been using

  TabbySDK().setup(
    /// Public Key, given by Tabby integrations team
    withApiKey: 'YOUR_API_KEY',
    environment: Environment.production,
  );

or simply

  TabbySDK().setup(
    /// Public Key, given by Tabby integrations team
    withApiKey: 'YOUR_API_KEY',
  );