mirror of
https://github.com/shareAI-lab/analysis_claude_code.git
synced 2026-05-07 00:36:18 +08:00
@@ -27,6 +27,17 @@ policy, hooks, and lifecycle controls on top.
|
|||||||
import os
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
|
try:
|
||||||
|
import readline
|
||||||
|
# #143 UTF-8 backspace fix for macOS libedit
|
||||||
|
readline.parse_and_bind('set bind-tty-special-chars off')
|
||||||
|
readline.parse_and_bind('set input-meta on')
|
||||||
|
readline.parse_and_bind('set output-meta on')
|
||||||
|
readline.parse_and_bind('set convert-meta off')
|
||||||
|
readline.parse_and_bind('set enable-meta-keybindings on')
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
from anthropic import Anthropic
|
from anthropic import Anthropic
|
||||||
from dotenv import load_dotenv
|
from dotenv import load_dotenv
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user