Skip to content

docs: update dia oracle section#937

Open
khawlahssn wants to merge 2 commits intobob-collective:masterfrom
khawlahssn:master
Open

docs: update dia oracle section#937
khawlahssn wants to merge 2 commits intobob-collective:masterfrom
khawlahssn:master

Conversation

@khawlahssn
Copy link

No description provided.

@vercel
Copy link

vercel bot commented Feb 5, 2026

@khawlahssn is attempting to deploy a commit to the distributed-crafts Team on Vercel.

A member of the Team first needs to authorize it.

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @khawlahssn, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request refactors the documentation for the DIA oracle section to enhance clarity and user experience. It streamlines the explanation of DIA's functionality and how to query price feeds by replacing verbose instructions with concise guidance and direct links to comprehensive external resources. Additionally, the update introduces information on requesting custom oracles, making the documentation more resourceful for diverse user needs.

Highlights

  • Documentation Refinement: The DIA oracle section in the documentation has been significantly updated to provide a more concise and direct explanation of DIA's services and how to interact with them.
  • Streamlined Price Feed Access: The detailed step-by-step guide for accessing DIA price feeds has been replaced with a simpler instruction to call the getValue() function and a direct link to the comprehensive BOB oracle integration guide.
  • Custom Oracle Request Information: New content has been added to inform users about the possibility of requesting custom oracles for assets not currently available or for specific dApp configurations, including a link to the request guide.
  • Updated Terminology: The heading 'Assets (BOB Mainnet)' has been updated to 'Price Feeds on BOB Mainnet' for clearer communication.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • docs/docs/docs/tools/oracles.md
    • Updated the introductory description of DIA to highlight its role as a cross-chain, trustless oracle network for BOB, emphasizing its data sourcing and computation transparency.
    • Replaced the previous multi-step guide on accessing DIA price values with a simplified instruction to call the getValue() function and a link to the full BOB oracle integration guide.
    • Removed older links related to DIA's data sourcing and computation architecture.
    • Changed the section heading from 'Assets (BOB Mainnet)' to 'Price Feeds on BOB Mainnet'.
    • Added a new section detailing how to request a custom oracle for specific requirements, including a link to the relevant guide.
Activity
  • The pull request was created by khawlahssn with the title 'docs: update dia oracle section'.
  • The pull request body is empty, indicating no additional context was provided by the author at creation.
  • No human activity such as comments or reviews has been recorded for this pull request based on the provided context.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the documentation for the DIA oracle, making the instructions more concise and adding a link for requesting custom oracles. The changes are a good improvement, clarifying the process for developers. I've added one minor suggestion to improve formatting consistency within the document.


For assets not currently available or dApps requiring specific configurations, you can request for a custom oracle tailored to your requirements.

→ [Request a Custom Oracle](https://www.diadata.org/docs/guides/how-to-guides/request-a-custom-oracle)
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

For consistency with other sections in this document (like the API3 section), it would be better to use a standard markdown list item (a bullet point) for this link instead of the arrow character .

Suggested change
[Request a Custom Oracle](https://www.diadata.org/docs/guides/how-to-guides/request-a-custom-oracle)
- [Request a Custom Oracle](https://www.diadata.org/docs/guides/how-to-guides/request-a-custom-oracle)

@khawlahssn khawlahssn marked this pull request as ready for review February 10, 2026 13:56
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.

1 participant