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

fix: fix oauth home #346

Merged
merged 10 commits into from
Nov 26, 2024
Merged

fix: fix oauth home #346

merged 10 commits into from
Nov 26, 2024

Conversation

michaelneale
Copy link
Collaborator

FIxes so it uses the actual $HOME at runtime


let agent = Agent::new(provider);
let mut agent = Agent::new(provider);
agent.add_system(system);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needed for databricks/anthropic

@michaelneale michaelneale added the p0 v1.0 priority label Nov 26, 2024
fn format_text(text: &str) -> String {
// Text messages start with "0:"
format!("0:\"{}\"\n", text.replace('\"', "\\\""))
let encoded_text = serde_json::to_string(text).unwrap_or_else(|_| String::new());
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vercel impl implies it shoudl be json encoded

@michaelneale michaelneale merged commit 524af9e into v1.0 Nov 26, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p0 v1.0 priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant