Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[computer_use_demo] using BETA_FLAG #76

Merged
merged 1 commit into from
Oct 23, 2024
Merged

Conversation

laiso
Copy link
Contributor

@laiso laiso commented Oct 23, 2024

I revised the code because the defined constant was not being used.

raw_response = client.beta.messages.with_raw_response.create(
max_tokens=max_tokens,
messages=messages,
model=model,
system=system,
tools=tool_collection.to_params(),
betas=["computer-use-2024-10-22"],
)

@x5a
Copy link
Collaborator

x5a commented Oct 23, 2024

@laiso thanks for your contribution

@x5a x5a merged commit cfa9440 into anthropics:main Oct 23, 2024
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants