Skip to content

feat: Add a travel planner powered by a custom-configured model. #23

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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

Linux2010
Copy link
Contributor

Description

feat: Add a travel planner powered by a custom-configured model (openAI Compatible).

Merge reasons

  • When running the demo of the current SDK, there will be situations where the MCP tool or function call cannot be used, and it is difficult to run.
  • The current SDK demo supports Google's large model, but lacks demo examples of customizing the configuration of large models.
  • The demo I provided, based on the standard protocol of A2A, supports custom configuration of large models and provides standard code for the agent, client, and server.
  • I sincerely hope to provide developers who are new to the A2A project with an easy-to-get-started demo example. Therefore, if there are any parts that need to be modified, please leave a message. I hope my code can be helpful for the example of the SDK project.

Subsequent plans

  • When the official SDK is updated, I will update this example to make it compatible with the latest SDK.
  • Enrich the functions of the travel assistant, add a Python file, and demonstrate examples of using MCP and function - call.

Running Screenshot

  • server
Screenshot 2025-05-15 at 10 58 09 PM
  • client
Screenshot 2025-05-15 at 10 58 15 PM

@Linux2010 Linux2010 requested a review from a team as a code owner May 15, 2025 15:05
@@ -0,0 +1,5 @@
{
"model_name":"qwen3-32b",
"api_key": "sk-74e8a7c32e2741ff892844597dcc31c1",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should this API Key be added here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You're right. I didn't think it through carefully. I will revise the logic here. Thank you for pointing it out.

@Linux2010
Copy link
Contributor Author

description

  • In this optimization, the real API key is placed in the environment variables.

PS: The configuration method of conf.json refers to the implementation approach of Codex.

image

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