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

chore: release #22

Merged
merged 1 commit into from
Oct 1, 2024
Merged

chore: release #22

merged 1 commit into from
Oct 1, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Sep 17, 2024

🤖 New release

  • rig-core: 0.1.0 -> 0.2.0 (⚠️ API breaking changes)
  • rig-mongodb: 0.1.0 -> 0.1.1

⚠️ rig-core breaking changes

--- failure constructible_struct_adds_field: externally-constructible struct adds field ---

Description:
A pub struct constructible with a struct literal has a new pub field. Existing struct literals must be updated to include the new field.
        ref: https://doc.rust-lang.org/reference/expressions/struct-expr.html
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.35.0/src/lints/constructible_struct_adds_field.ron

Failed in:
  field CompletionRequest.max_tokens in /tmp/.tmpuHEQNi/rig/rig-core/src/completion.rs:263

--- failure inherent_method_missing: pub method removed or renamed ---

Description:
A publicly-visible method or associated fn is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.35.0/src/lints/inherent_method_missing.ron

Failed in:
  Client::model, previously in file /tmp/.tmpo9cAeU/rig-core/src/providers/openai.rs:137
  Client::rag_agent, previously in file /tmp/.tmpo9cAeU/rig-core/src/providers/openai.rs:167
  Client::tool_rag_agent, previously in file /tmp/.tmpo9cAeU/rig-core/src/providers/openai.rs:174
  Client::context_rag_agent, previously in file /tmp/.tmpo9cAeU/rig-core/src/providers/openai.rs:181
  Agent::new, previously in file /tmp/.tmpo9cAeU/rig-core/src/agent.rs:106
  Client::model, previously in file /tmp/.tmpo9cAeU/rig-core/src/providers/perplexity.rs:77
  Client::rag_agent, previously in file /tmp/.tmpo9cAeU/rig-core/src/providers/perplexity.rs:92
  Client::context_rag_agent, previously in file /tmp/.tmpo9cAeU/rig-core/src/providers/perplexity.rs:99
  Client::model, previously in file /tmp/.tmpo9cAeU/rig-core/src/providers/cohere.rs:80
  Client::rag_agent, previously in file /tmp/.tmpo9cAeU/rig-core/src/providers/cohere.rs:95
  Client::tool_rag_agent, previously in file /tmp/.tmpo9cAeU/rig-core/src/providers/cohere.rs:102
  Client::context_rag_agent, previously in file /tmp/.tmpo9cAeU/rig-core/src/providers/cohere.rs:109

--- failure module_missing: pub module removed or renamed ---

Description:
A publicly-visible module cannot be imported by its prior path. A `pub use` may have been removed, or the module may have been renamed, removed, or made non-public.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.35.0/src/lints/module_missing.ron

Failed in:
  mod rig::rag, previously in file /tmp/.tmpo9cAeU/rig-core/src/rag.rs:1
  mod rig::model, previously in file /tmp/.tmpo9cAeU/rig-core/src/model.rs:1

--- failure struct_missing: pub struct removed or renamed ---

Description:
A publicly-visible struct cannot be imported by its prior path. A `pub use` may have been removed, or the struct itself may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.35.0/src/lints/struct_missing.ron

Failed in:
  struct rig::model::ModelBuilder, previously in file /tmp/.tmpo9cAeU/rig-core/src/model.rs:116
  struct rig::model::Model, previously in file /tmp/.tmpo9cAeU/rig-core/src/model.rs:57
  struct rig::rag::RagAgent, previously in file /tmp/.tmpo9cAeU/rig-core/src/rag.rs:76
  struct rig::rag::RagAgentBuilder, previously in file /tmp/.tmpo9cAeU/rig-core/src/rag.rs:233
Changelog

rig-core

0.2.0 - 2024-10-01

Added

  • anthropic models

Fixed

  • (context) displaying documents should be deterministic (sorted by alpha)
  • (context) spin out helper method + add tests
  • move context documents to user prompt message
  • adjust version const naming
  • implement review suggestions + renaming
  • add completion_request.documents to chat_history
  • adjust API to be cleaner + add docstrings

Other

  • Merge pull request #43 from 0xPlaygrounds/fix/context-documents
  • Merge pull request #27 from 0xPlaygrounds/feat/anthropic
  • Fix docstrings
  • Deprecate RagAgent and Model in favor of versatile Agent
  • Make RagAgent VectorStoreIndex dynamic trait objects

rig-mongodb

0.1.1 - 2024-10-01

Other

  • updated the following local packages: rig-core


This PR was generated with release-plz.

@github-actions github-actions bot force-pushed the release-plz-2024-09-17T18-12-59Z branch 4 times, most recently from 1f2f9cf to 4d43846 Compare September 23, 2024 18:56
@github-actions github-actions bot force-pushed the release-plz-2024-09-17T18-12-59Z branch 3 times, most recently from ae4a372 to 2f35043 Compare September 27, 2024 19:04
@0xMochan
Copy link
Contributor

Don't forget to update docstrings to the new agent structure

@github-actions github-actions bot force-pushed the release-plz-2024-09-17T18-12-59Z branch from 2f35043 to dd171dd Compare October 1, 2024 16:24
@github-actions github-actions bot force-pushed the release-plz-2024-09-17T18-12-59Z branch from dd171dd to 1e8bf33 Compare October 1, 2024 19:02
@cvauclair cvauclair merged commit b961b5b into main Oct 1, 2024
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