File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 138138
139139``` julia
140140# Complete options configuration
141+ using ClaudeCodeSDK
142+
141143options = ClaudeCodeOptions (
142144 allowed_tools= [" Read" , " Write" , " Bash" ],
143145 max_thinking_tokens= 8000 ,
@@ -152,10 +154,20 @@ options = ClaudeCodeOptions(
152154 disallowed_tools= String[],
153155 model= " claude-3-5-sonnet-20241022" ,
154156 permission_prompt_tool_name= nothing ,
155- cwd= " /path/to/project "
157+ cwd= " . "
156158)
157159
158- result = query (prompt= " Help me with my project" , options= options)
160+ result = query (prompt= " Help me with my project" , options= options);
161+
162+ for message in result
163+ if message isa AssistantMessage
164+ for block in message. content
165+ if block isa TextBlock
166+ println (block. text)
167+ end
168+ end
169+ end
170+ end
159171```
160172
161173### Features
You can’t perform that action at this time.
0 commit comments