diff --git a/lua/avante/config.lua b/lua/avante/config.lua
index 37db5b6..d8fd12d 100644
--- a/lua/avante/config.lua
+++ b/lua/avante/config.lua
@@ -140,7 +140,6 @@ M.defaults = {
     wrap = true, -- similar to vim.o.wrap
     width = 30, -- default % based on available width in vertical layout
     height = 30, -- default % based on available height in horizontal layout
-    direction = "right", -- "left" | "right"
     sidebar_header = {
       align = "center", -- left, center, right for title
       rounded = true,
diff --git a/lua/avante/sidebar.lua b/lua/avante/sidebar.lua
index 016fc90..f1fd147 100644
--- a/lua/avante/sidebar.lua
+++ b/lua/avante/sidebar.lua
@@ -1383,7 +1383,7 @@ function Sidebar:create_input()
     if self:get_layout() == "vertical" then
       return "bottom"
     end
-    return Config.windows.direction
+    return "right"
   end
 
   local get_size = function()