Badge for "Tested with QUnit"

:clipboard: Description
A badge for prominent tooling used by a project in ts development. For example, the linter or testing framework.
Manual workaround / Example:

[![Tested with QUnit](https://img.shields.io/badge/tested_with-qunit-9c3493.svg)](https://qunitjs.com/)
[![Tested with ESLint](https://img.shields.io/badge/tested_with-eslint-4B32C3.svg)](https://eslint.org/)

Tested with: QUnit
Tested with: ESLint
Tested with: Mocha
Tested with: Karma

:link: Data
(Declarative, static)
:microphone: Motivation
Developers sometimes enjoy showing which tools their projects are tested, built, or released with. Perhaps as self-documenting way to give a sense of how the project is developed, or out of pride/support for the tools they choose. It might give potential contributors a sense of familiarity if they know the tools, or might spread awareness of new and upcoming indie tools that are not yet mainstream.
Inspired by aleen42/badges, which has these and many others listed already. However, those often use logos and don't use the more descriptive and scalable approach that makes shields.io useful. I'm open to prefixes other than "tested with". Other categories to consider instead, or in addition to, might be built with … , released with, or uses … (á la Uses This).

Hello. The examples you've given (e.g: https://img.shields.io/badge/tested_with-qunit-9c3493.svg ) are the correct way to do this. That's what the customizable static badge is for :)


zml.tokenizer: proper byte fallback support

Some tokenizers have bytes encoded in hex like this: "<0x40>".
This break the tokenization algorithm because the input text will contain "@" not "<0x40>",
and if the input contains "<0x40>" it needs to not be treated as a single byte.
So we replace byte fallbacks strings, by their corresponding character.
This enables the normal tokenization algorithm to work.
This PR also implement the main byte fallback logic, that split unknow utf8 codepoint into bytes.

Reading through the logic looks good, but it actually is not encoding to match up against python:
Using OpenLLama-3B demo with the prompt Q: What is the largest animal?\nA: (demo prompt given in the README of the OpenLLama-3B Repo.
Python correct encoding:
[1, 1059, 31871, 1217, 322, 266, 3682, 6075, 31902, 13, 31849, 31871]

This PR has reverted the behavior of ZML such that  we're not recognizing the \n and it's being encoded as .unk:
{ 1, 1059, 31871, 1217, 322, 266, 3682, 6075, 31902, 0, 31849, 31871 }

good catch, the sentencepiece proto do have a "byte_fallback" setting, so I've added support to read that.


Add Visual Studio Code folder to gitignore

Just testing out commit workflow from windows 😄

Now all we need is Windows in our CI!

I'll certainly try to think about this. The big one as you said is figuring out an easy way to pull the LLVM dependency.
It looks like I don't have write access to the repo to merge the PR ?

Oops, I'm not sure how that happened. Maybe when you were removed from the imageworks org, we neglected to explicitly add you also as a committer to osl? Huge oversight. Invite sent; let me know if you're able to accept it and merge.

All good! That's why I tested the waters with a trivial change :)


52 - feat: add sf community plugin on full docker image

Checklist
All items have to be completed before a PR is merged

[x] Adhere to Contribution Guidelines
[ ] Updates to Decision Records considered?
[ ] Updates to documentation at flxbl-sfp Guide considered?
[ ] Tested changes?
[ ] Unit Tests new and existing passing locally?

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Remove app icon path in main configuration for build due to change in…

… electron-builder; linux now uses OSX icns anyway. r=mossop
Looks like this patch changed it in electron-builder, and Linux will now use the mac object's icns now.

lgtm

Coverage decreased (-0.1%) to 43.37% when pulling 64478ba3bb40dc18be4db6f09041b5b6b30af4a9 on jsantell:fix-osx-build into 5c78ab2d705fe9f2ef5d8fb2c468a9a412bc036c on mozilla:master.


Checkout whether python ssp can be used to export from OSCAL to docx

https://github.com/brasky/python-ssp

Closing as library has not been updated to OSCAL 1.0.0.


"Manage your seats" should be paged and searchable

Manage your seats organization page is unmanageable and slow with many users. It should be paged and searchable. Probably a page size ~50/100 can be enough.

50 per page should be good. We will need pagination and search endpoints.

50% of the ticket for you nacho and the other 50% for me :)

@saleiva, should organization users search work as dashboard lists do?. It means, working with backbone, router urls, etc.

I think in this case we can afford going with a simpler one, like the one we have on the user lists that @alonsogarciapablo  did.

Not sure if we can use that, because what @alonsogarciapablo did was using a JS filter, didn't you?.
In fact I have to change that view for this 5k-org feature (https://github.com/CartoDB/cartodb/issues/3864).

@xavijam you're right. In the share dialog, we're filtering users on the client.

Done in https://github.com/CartoDB/cartodb/issues/3888


Low Performance

Summarizing takes quite a long time, given enough sentences
To Reproduce
Run:
opinosisSummary "Hi, i am leonhard. I like cats. cats like leonhard. Ice cream. Harakiri. This is the longest sentence by far. Cats will rule the world, because they are unstoppable. Samurais liked Ketchup and Leonhard. Cats cannot be Samurai, because they have furry paws. Japanese Cats are by far the furriest"
This took about a minute on a single processor, which is somewhat to long.
Expected behavior
Be much faster, for above example <10s
Proposed Solutions
There are multiple possible ways:

measure performance, and look where it is lost
more restrictive standard-selection (e.g. higher sigma theta)
some (faster?) libraries for cosine distance
maybe: make summaries in splits?
"bestPaths" and some others should be good candidates for multi-threading, but how are multithreaded libraries supported?

Desktop:

OS: Windows 8
GHCI 8.6.5
Version d9bf4a750817aed4433c143d0a767f06347aeb6f

Additional Information:
I was thinking about the default values ... If the averaged path strength is smaller than 1, it is not redundant at all? So only if a path is actually interlapping with anything and sharing atmost one word, it get a higher averaged path strength than 1?

So the thing is in my oppinion that the metric and distance are constant costs compared to the immense amount of work produced by higher n-s or higher number of paths.
While not being 100% accurate, i guess its
n * paths * cost_metric + (paths ^ n) * (cost_distance*n!) + cost_sort(path ^ n)

where n = number of results, paths = number of paths
This will never go well.
One minor improvement could be to have a value sigma Theta, which filters candidates which do not reach a certain distance to each other befor the sorting.
However, i expect to be the distance the crucial part of this performance issue.

I think I can get the tuple creation a little faster.
Right now I make every possible combination of length n and then remove duplicates.
If I get the duplicates removed by algorithm, this should n-tel the results and safe me a lot of computation (as the unique function will not be applied to every element) .
While not being perfectly correct, i think of something along:
3tuple ps = [ [a,b,c] | a <- ps, b <- ps, c<- ps where a < b < c  ]
The smaller thans should help to not have duplicates in the first place. But this is just a guess.
To not mess things up, i first should add QuickCheck-Properties #17 and then start refactoring and playing around.
I hope this will help a lot. The hard part is to get the variable-length into this. Hardcoding 3 tuples is nice, but for n tuples this needs some more complex concept.

So running the summarizeWithoutDistances showed that this yields lightning-fast results which are (sadly) unusable. Or, they are very similar. Maybe one can make a nicer selection from the all potential summaries, as the "top 10" all look very much the same (only differing in one or two words).
However, the sample 4 showed that sometimes building the graph has also problems.


As a User of the design system I want clear guidelines/patterns of how to use the EDS components.

[ ] Identifying the most important patterns / guidelines to include. Then add them to the list below
[ ] Patterns for editable, read only and disabled text fields
[ ] Placement of primary and secondary buttons
[ ] How to display functionality earier often displayed as a set of "buttons" in a toolbar
[ ] Capitalization guidelines for labels
[ ] Gaps between components
[ ] When to use Navigation Drawer and v.s.v. Table of Contents
[ ] Rules for spacing between text field especially with a combination with and without helper text
[ ] Consider another solution for how to show unit on a field (AS is this is below the field.)

Is this still relevant? @equinor/eds-ux

This needs to be taken in zeroheight @BeckyBrekke @akvam ?

This is a US from before Zerohight. Hope everything is solved => close the issue.


handled nulls in all CNExT scripts

I believe all possible nulls returned by the cnext queries have been handled. There is a question into Mark about how to handle a field concatenated with a hard-coded string. For now, if the field isn't handled in the predicate, the returned value will be the hard-coded portion. That may need to change.

All queries were tested and results were compared to the original scripts' returned values. Everything checked out okay.


jsDoc undefined type does not work

Bug Report
🔎 Search Terms
jsdoc, undefined
🕗 Version & Regression Information

This is the behavior in every version I tried, and I reviewed the FAQ for entries about jsDoc & js

⏯ Playground Link
Playground link with relevant code
💻 Code
  /** @type {string | undefined} */
  const detectedStrategy = undefined;
  detectedStrategy.charAt(0);

🙁 Actual behavior
detectedStrategy is considered a string after defining its type in a js context.
🙂 Expected behavior
It should create a TS error when trying to access the string method on it. The error is generated is type is defined as /** @type {string | void} */ but this does not work for implicit function return values as they are undefined by default.

You have strictNullChecks disabled. Without this flag there is no undefined or null type.

You are right, thank you!


feat: support putRandomly

adds a feature that resets the map randomly by pressing the B button.

This may fail to build, so I'd like to resolve #1 before merging it.


Parent schema IDs don't appear to be properly populated in embedded schemas

I have a very basic MongoDB schema structure, with model (document) "A" having an embeds_many relationship with model (document) "B". When I insert a new A containing several children B, looking at what is persisted in MongoDB, each B child has a field (which was not explicitly defined in its schema) which is supposed to hold the A parent's _id value. Instead, this parent ID value for all children is NULL. As this field is automatically added, it should properly reflect that parent's ID.

I should mention that this behavior resulted from having a belongs_to in the embedded schema of an embeds_many. I am guessing that the belongs_to causes the parent ID to be present in the inserted embedded document, because without belongs_to, the parent ID doesn't appear. However, it never is populated.

belongs_to should only be used with has_many or has_one. It's not useful to have parent_id in embedded document - it always belongs to the document it's embedded in.
Because of this the current behaviour is to be expected. I agree there's room for improvement with the documentation though.

@michalmuskala Ok....I'll buy this. I agree that for an embedded document, containment defines the relationship. I had pondered the possibility that queries on embedded documents might benefit (or be more performance optimal) if the ability existed to store that parent id.
The interesting thing about this is that it was something I discovered on accident when trying to adapt that article by @josevalim on Ecto associations and embeds. It wasn't immediately clear whether belongs_to was needed (or required) or not. (Another related issue was that embedded documents apparently do not need to be defined using embedded_schema do, if the parent declares them in its embeds_many, it appears they can use the standard schema "myobjects" do syntax and embedding will work the same).
So after I discovered this I began to ponder the potential uses for parent ID's in embedded docs. There may be some, but until I come across a specific use-case, closing this is cool, if the intent was that belongs_to explicitly not be used in embedded documents.


Add cypress+firefox support by upgrading to >= 4.0.0 version

Description
As mentioned this add firefox and also incidentally Edge support with cypress.
This is still in Beta but I think bringing this in with the few API changes before we code test that may not be compatible is important with these API changes

Todo:
[ ] Check that this works with docker

@Jskobos I added a sample file for the development.json file
We cannot put comment in json sadly, but this file is for the settings of cypress.
Probably will work on the doc of this as a follow up of what i m doing


Pin the open-next build command to a specific version

By default, the build command in the NextjsSite construct uses the latest version of open-next.
This is unsafe as the latest version of open-next may not be compatible with the current version of SST and can cause production failures even when pinning down the version of SST.
Users already have the option to manually override the build command via the buildCommand prop. It's still not great that the default behaviour of the construct is unsafe.

Why is open-next run via npx and not as a direct dev dependency

Thanks @Brian-Azizi, I just made a minor tweak to pin to the minor version instead of the exact version.

Why is open-next run via npx and not as a direct dev dependency
The thinking was that users shouldn't need to add open-next as a dev dependency in their Next.js app. open-next is meant to be used by framework authors. Also we want to keep SST's dependencies lean, and including open-next doesn't make sense for non NextjsSite users.

Glad this was fixed so quickly! Great job :)


How can I use it to identify faces without pre-trained data

This app seems to require prepared facial data, is it possible to detect and identify new faces during run-time? Thanks.

Can you specify the task, if it's just face detection, that's completely possible. But, for any classification, you still need to train a custom model for that.


Add .sql and .sql.gz to default block list for nginx-drupal

This PR adds logic to the nginx-drupal image to automatiaclly block both .sql and .sql.gz files by default.
Closes #74

doesn't the .*sql already match foobar.sql file?

doesn't the .*sql already match foobar.sql file?

Good catch! I searched for .sql and didn't find it, so I added it as well. I'll update and remove that now.

Good catch! I searched for .sql and didn't find it, so I added it as well. I'll update and remove that now.

I'll have a bit of a think about how best to test some of these default rules - I think we can write a testing doc that covers them, it's just where to put it!

I'll have a bit of a think about how best to test some of these default rules - I think we can write a testing doc that covers them, it's just where to put it!


Adding Ordering in SimpleTable component

Please check if the PR fulfills these requirements

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Adds ordering methods by clicking in the column on the Simple table component.

What is the current behavior? (You can also link to an open issue here)

What is the new behavior (if this is a feature change)?

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

Is there any issue related to this PR in other repository? (such as dojot/dojot)

Other information:

Why not use the backstage sorting of history's own endpoint?

Why not use the backstage sorting of history's own endpoint?

Why not use the backstage sorting of history's endpoint?

I prefer not to send a server request every time a user sorts a column, mainly because the backstage makes one HTTP request for each device before it sends back the response, which involves 300 requests per action.

Why not use the backstage sorting of history's endpoint?

I prefer not to send a server request every time a user sorts a column, mainly because the backstage makes one HTTP request for each device before it sends back the response, which involves 300 requests per action.

Please, before merge refer the issue in the body

Please, before merge refer the issue in the body


[BUG] Found 2 Flaky tests in JsonManagedReferenceTest.java

Problem Description
Found 2 flaky tests in the file: JsonManagedReferenceTest.java
The tests that were flaky within this file were: testJsonBackReference() and test1().
Environment Info:

OS： Ubuntu 22.04.5 LTS, Release: 22.04
JDK： java-17-openjdk-amd64
Version：Latest version

Steps to reproduce
Run these commands:
mvn -pl core edu.illinois:nondex-maven-plugin:2.1.7:nondex -Dtest=com.alibaba.fastjson2.jackson_support.JsonManagedReferenceTest#testJsonBackReference
mvn -pl core edu.illinois:nondex-maven-plugin:2.1.7:nondex -Dtest=com.alibaba.fastjson2.jackson_support.JsonManagedReferenceTest#test1
The results would be:

Expected Results
The tests should run without non-determinism issue and the build should be successful after running the above commands
Relevant log output

Fix in https://github.com/alibaba/fastjson2/pull/3095


Swagger index.html page not accessible through loadbalancer url after deployment

.Net Core 5.0 web api project with Swashbuckle.AspNetCore version 5.6.3.
ISSUE-:
Swagger index.html page or the Swagger json file not accessible after deployment to AWS with a Load balancer url.
STEPS TO REPRODUCE:
I am working in a team in which we have created a solution with multiple Web API projects. Each project has its own startup.cs file & the corresponding swagger configuration details.
Currently we are having two such web api projects -: masterService, userService.
In masterService api project, we have kept the swagger configuration as it is (i.e., in configureServices(), we have services.AddSwaggerGen(...) & in configure(), we have the app.UseSwagger(), app.UseSwaggerUI(options=> options.swaggerEndpoint('/swagger/v1/swagger.json', 'masterservice v1').
Now this Web API is build through Dockerfile & then Jenkins pipeline deploys it to AWS. In AWS we have loadbalancer.
EXPECTED RESULT:
Accessing the /swagger/index.html page using loadbalancer url (i.e, https://loadbalancerurl/swagger/index.html) should show the swagger index.html page with all API endpoints of masterService.
ACTUAL RESULT:
When requested through browser, 404 is returned.
##TRIED:##
I tried to modify the swagger url like /masterService/swagger/index.html (as we have multiple api projects) using routeTemplate(...), then routePefix but no luck. Then I reverted back to the old solution.
##Question:##
What is the issue here? Kindly help.

for .netcore you need another project: https://github.com/domaindrivendev/Swashbuckle.AspNetCore


Any chance for a port to 1.12.2 (more specifically interested in getting the farming station in 1.12.2)

I was hoping that EnderIOAddons could be ported to 1.12.2. Specifically I am interested in getting the agricraft farming station functionality in 1.12.2.
Thanks!

Any news here? I had a look at the code of some machines, but the changes from 1.7 to 1.12 go a bit over my head at the moment. I'll try to dig deeper, but I cannot even find half the EnderIO classes that Addons used any more...


Automated Package Upgrade

:tada: This PR is included in version 5.0.171 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


build: update Scala and plugin minor versions

This includes several minor updates suggested by scala steward.

In light of https://github.com/chipsalliance/treadle/pull/313, I've updated the branch protection rules for master (not *.*.x) to require all tests passed and license/cla.


fix: Make RECEIPT_HOME variable XDG compliant

The setting of RECEIPT_HOME using "${HOME}/.config" will fail for users who move their config folder elsewhere using XDG_CONFIG_HOME. Both dash and bash (the usual interpreters for /bin/sh) both support parameter substitution.

(failures are just needing to run cargo insta review --accept, i can do that for you)

Oh haha, because this PR is from the main branch of your fork I'm not actually allowed to push to it 😅

I can move this to another branch, but I believe I would need to re-submit a PR?  I don't think we can edit the branch the PR comes from.  What would be your preference?

Also, I'd be happy to take a look at axoupdater.  I have a lot of bash scripting experience and can spot XDG "errors" like a hawk.  If I see anything, I'll submit over there.

Sorry for the delay this PR is great and is approved but had some interesting logistics.
So what needs to happen is:

[ ] merge https://github.com/axodotdev/axoupdater/pull/171
[ ] release axoupdater
[ ] implement https://github.com/axodotdev/cargo-dist/issues/1392
[ ] set the minimum axoupdater to the above released version
[ ] then merge this PR

now that #1392 is merged we are closer to getting this merged. the current plan is to release this is the release after next (which will contain the minimum viable version work)


tsserver scanning virtual files for errors

🔎 Search Terms
"vscode-chat-code-block", "ts-nul-authority", "problem with files with uuid path"
🕗 Version & Regression Information

This is a bug

The tsserver is looking into virtual files which are not part of the workspace (in this case it might be looking into files coming from copilot chat)

⏯ Playground Link
No response
💻 Code
// Your code here

🙁 Actual behavior
the log file has this output
{
"seq": 2,
"type": "request",
"command": "updateOpen",
"arguments": {
"changedFiles": [],
"closedFiles": [],
"openFiles": [
{
"file": "^/vscode-chat-code-block/ts-nul-authority/3e0d69f2-e827-46ab-9c23-323509e83078",
"fileContent": "<BaseNumberField\n  // ...other props\n  onKeyDown={(event) => {\n    // Handle the key down event\n    console.log(event.key);\n  }}\n/>",
"projectRootPath": "/",
"scriptKindName": "TS"
},
thus a vscode problem with a file name 3e0d69f2-e827-46ab-9c23-323509e83078 is displayed in vscode
🙂 Expected behavior
the virtual file should not be checked by tsserver
Additional information about the issue
using vscode 1.87.1
on macos Sonoma

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!

Duplicate of https://github.com/microsoft/vscode/issues/207593


Ignite updates

Support for new procedures Handover, eRAB Modification Indication etc.

Can one of the admins verify this patch?


Application to become a maintainer

Hi guys,
if nobody is interested I apply to become a maintainer, let me know!

I'd suggest you fork it, start building out features/rewrite as you see necessary.  Once you've shown you've got a solid fork, we'll update the README signifying this is deprecated and direct attention to yours.

Is there a fork yet?


fix: 4627 - no more nutrients wiped out

What

2 bugs fixed in this PR.
Minor fixed bug: there was a "cannot load" error that prevented the user from entering the nutrition facts page the very first time (then it was OK).
The "Empty nutrition facts" bug is also fixed here:

when background tasks are piling up, we sent the request to the server and meanwhile we compute the local product as the initial product with all the local-and-not-server-committed changes on top.
the problem was that in those changes we overwrote existing nutrition facts with empty nutrition facts (from a product change that had no nutrition facts and it was transformed into existing but empty nutrition facts).

Fixes bug(s)

Fixes: #4627

Impacted files

ordered_nutrients_cache.dart: removed a bug I introduced in #4768.
up_to_date_changes.dart: now nutriments are safer when background tasks are running.

Codecov Report
Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (b101d75) 9.67% compared to head (627f6bd) 9.67%.

Files
Patch %
Lines

...smooth_app/lib/data_models/up_to_date_changes.dart
0.00%
1 Missing :warning:

...app/lib/pages/product/ordered_nutrients_cache.dart
0.00%
1 Missing :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##           develop   #4902   +/-   ##
=======================================
  Coverage     9.67%   9.67%
=======================================
  Files          318     318
  Lines        16115   16115
=======================================
  Hits          1559    1559
  Misses       14556   14556

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Thanks @monsieurtanuki and @g123k


topic_link_util: Add & as a character which can produce broken links.

& in topic names like © can result in broken stream topic links. So we generate fallback markdown links for them too.
This is a follow up to #30071.

Screenshots and screen captures:

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

@alya This should be quick to merge.

@timabbott I have added the tests.

Nice, merged, thanks @kuv2707!


compile error, need to add #include  in XLCellReference.hpp, XLColor.hpp, XLDateTime.cpp

[  1%] Building CXX object OpenXLSX/OpenXLSX/CMakeFiles/OpenXLSX.dir/sources/XLCellReference.cpp.obj
In file included from C:\Users\86189\Desktop\workspace\OpenXLSX\OpenXLSX\sources\XLCellReference.cpp:54:
C:/Users/86189/Desktop/workspace/OpenXLSX/OpenXLSX/headers/XLCellReference.hpp:65:37: error: 'uint32_t' was not declared in this scope
65 |     using XLCoordinates = std::pair<uint32_t, uint16_t>;
|                                     ^~~~~~~~
C:/Users/86189/Desktop/workspace/OpenXLSX/OpenXLSX/headers/XLCellReference.hpp:59:1: note: 'uint32_t' is defined in header ''; did you forget to '#include '?
58 | #include "OpenXLSX-Exports.hpp"
+++ |+#include
59 |
C:/Users/86189/Desktop/workspace/OpenXLSX/OpenXLSX/headers/XLCellReference.hpp:65:47: error: 'uint16_t' was not declared in this scope
65 |     using XLCoordinates = std::pair<uint32_t, uint16_t>;
|                                               ^~~~~~~~
C:/Users/86189/Desktop/workspace/OpenXLSX/OpenXLSX/headers/XLCellReference.hpp:65:47: note: 'uint16_t' is defined in header ''; did you forget to '#include '?
C:/Users/86189/Desktop/workspace/OpenXLSX/OpenXLSX/headers/XLCellReference.hpp:65:55: error: template argument 1 is invalid
65 |     using XLCoordinates = std::pair<uint32_t, uint16_t>;
|                                                       ^
C:/Users/86189/Desktop/workspace/OpenXLSX/OpenXLSX/headers/XLCellReference.hpp:65:55: error: template argument 2 is invalid
C:/Users/86189/Desktop/workspace/OpenXLSX/OpenXLSX/headers/XLCellReference.hpp:97:33: error: expected ')' before 'row'
97 |         XLCellReference(uint32_t row, uint16_t column);
|                        ~        ^~~~
|                                 )
C:/Users/86189/Desktop/workspace/OpenXLSX/OpenXLSX/headers/XLCellReference.hpp:104:33: error: expected ')' before 'row'
104 |         XLCellReference(uint32_t row, const std::string& column);
|                        ~        ^~~~
|                                 )
C:/Users/86189/Desktop/workspace/OpenXLSX/OpenXLSX/headers/XLCellReference.hpp:165:9: error: 'uint32_t' does not name a type
165 |         uint32_t row() const;
|         ^~~~~~~~
C:/Users/86189/Desktop/workspace/OpenXLSX/OpenXLSX/headers/XLCellReference.hpp:165:9: note: 'uint32_t' is defined in header ''; did you forget to '#include '?
C:/Users/86189/Desktop/workspace/OpenXLSX/OpenXLSX/headers/XLCellReference.hpp:171:21: error: 'uint32_t' has not been declared
171 |         void setRow(uint32_t row);

For me, I simply followed the error message and added #include <cstdint> to several hpp files, such as OpenXLSX\headers\XLCellReference.hpp and OpenXLSX\headers\XLDateTime.hpp. Then everything turned out fine.
For more information, feel free to check out this project of mine, which demonstrates how to configure OpenXLSX: https://github.com/Hans774882968/cpp-xlsx-demo

Same

This issue has been fixed in the May 2024 Update.


CPP: Remove UDFClientMetadata

"getDefaultOutputColumns", "adapterCall", "generateSqlForImportSpec".
have an argument of "UDFClientMetadata" which is defined nowhere

Won't fix in the current version


Adds workflow_job_duration_seconds and other small improvements

Adds workflow_job_duration_seconds - a counter of the total usage for a given owner, repo, status, conclusion, runnerGroup. This allows for a more accurate view of the total seconds usage. Note that this is not fully equivalent to billed usage, as GitHub rounds up to the minute. That could be an additional metric.
Other improvements

Workflow job metrics now have status + conclusion labels. Previously, these metrics had a single status label that contained either the status, or conclusion event field, depending on the event type. Now, the following questions are asked like:

"What is the duration for all completed events?" - status=completed
"What is the duration for all successful events?" - status=completed, conclusion=success

Improves reliability of workflow_job_duration_seconds. GitHub does occasionally send strange completed events without all the steps shown in the UI. This makes the previous implementation inaccurate. This is now calculated from workflow_job StartedAt + Concluded at timestamps instead of using the step timestamps. From my observations these are always present.
Adds .idea dir to .gitignore
Handles body read error
Adds documentation page on webhook assumptions
Handles in_progress events with no steps without panic
Updates binary generated from Makefile so the Dockerfile runs locally (it expects this name)
Adds debug logging of event payload - this was incredibly helpful for understanding event composition and making some of the above changes

@cpanato - that's great. I'm running a local build of this PR at the moment so it's be great to use a published image.

@cpanato - did you get a chance to test this out?


Wiki Should Be Disabled?

We're not using it, and it looks like public write access to it is enabled. Probably asking for trouble.

Done :)

:beers:


Add to_h method

We store parts of ID in index file. We need to get these pars from pubid with method to_h and recreate PubID from the hash:
> hash = pubid.to_h
{
  code: "800-121",
  publisher: "NIST",
  revision: "2",
  serie: "NIST SP"
}

> Pubid::Nist::Identifier.new(**hash)
 @code="800-121",
 @publisher=#<Pubid::Nist::Publisher:0x0000000109b619d0 @publisher="NIST">,
 @revision="2",
 @serie=#<Pubid::Nist::Serie:0x0000000109b62150 @parsed=nil, @serie="NIST SP">,
 @supplement=nil,
 @update=nil>

@andrew2net we already have a method doing the same: #get_params, but #to_h will better reflect purpose of the method, so I'm renaming it.

@mico we need to document all the Pubid methods. You can use https://yardoc.org so we automatically get docs like this https://www.rubydoc.info/gems/relaton-bib/1.16.2/RelatonBib/Affiliation

When using "typed stages" with input like:
{ type: "tr", number: 1, publisher: "ISO", stage: :dtr }

#to_h returns:
{:number=>1, :publisher=>"ISO", :stage=>#<Pubid::Core::Stage:0x000000010a7e31b8 @config=#<Pubid::Core...>{:long=>"Technical Report", :short=>"TR"}}>, @stages=["40.00"]>>, :type=>"tr", :typed_stage=>"DTR"}

which cannot be used to rebuild identifier again because of typed_stage parameter that we don't accept for constructor, "typed stage" should be applied through stage parameter.

@mico can we create Pubid::Core::Stage#to_h method? We need to serialize Pbid as a Hash and store in YAML file. And we need to be able to recreate the Pubid from the Hash. If it's impossible to create the stage parameter in Pubid constructor, let's make Pubid#from_hash parser method.


api twitter v2

my v.1.1 twitter's api has been suspended, after i upgrade to v2 this code can't auto post

This code runs on latest Twitter API, v1 has no relation with it.


Management of SonarQube version upgrade

As as user I want to be able to upgrade my SonarQube container without having to manually delete the elastic search index if data has been mounted to the host or volumes.
Related issue: http://blog.droidit.eu/2015/01/upgrade-sonar-from-version-4-to-version.html
Sonar upgrade steps: http://docs.sonarqube.org/display/SONAR/Upgrading

Isn't this specific to the 4 to 5 upgrade? Or does it apply every time?
Not sure how it can be done any other way than manual though, if it's inside the container it can't delete stuff every time and it can't be switched on an environment variable either (or you'd need to run it once with and once without it, which is a manual effort).

Closing as this is specific to released.


[Concurrency] Fix calling convention mismatch in AsyncStream

Functions defined in AsyncStream.cpp are called from Swift with swiftcc but are defined with the C calling convention.
Here are the caller site decls:
https://github.com/apple/swift/blob/4e2f3b1c8c3c32c33c6c34d35595360d84a49294/stdlib/public/Concurrency/AsyncStreamBuffer.swift#L42-L52

@swift-ci Please smoke test

@swift-ci Please smoke test

@swift-ci Please test and merge


How to render?

There is a render module but I don't know how to use it. Could you please provide some examples of how to render?

Hi @yotam
Is there any progress in this?

Hi @yotam any progress?

Support for headless rendering was added in 1a31a7ab5c356f72c90719e86d82e25f3625500d (currently Linux only).

TL;DR for who might find this by Googling:
env.physics.render()                               # [height, width, 3]
env.physics.render(height, width, camera_id=1)     # [height, width, 3]

Signature:
def render(self, height=240, width=320, camera_id=-1, overlays=(),
           depth=False, segmentation=False, scene_option=None):

Hi @wwxFromTju, here is update #2 which uses matplotlilb's animation.FuncAnimation.  It seems to run at a steady 29 FPS (RTX 3090, Intel i9-9900k), but has the downside of having to restructure the code a bit to put each RL step into a callback.
# dm_control_env2.py: test dm_control creation of an RL environment
import time
import numpy as np
import matplotlib.pyplot as plt
import matplotlib.animation as animation
from dm_control import suite

# Load one task:
env = suite.load(domain_name="cartpole", task_name="swingup")

action_spec = env.action_spec()
time_step = env.reset()

width = 480
height = 480

fig = plt.figure()
video = np.zeros((1, height, 2 * width, 3), dtype=np.uint8)
im = plt.imshow(video[0], animated=True)

max_frame = 90
frame_count = 0
started = time.time()

def one_step(args):
    action = np.random.uniform(action_spec.minimum, action_spec.maximum, size=action_spec.shape)
    time_step = env.step(action)

    frame = np.hstack([env.physics.render(height, width, camera_id=0),
            env.physics.render(height, width, camera_id=1)])

    im.set_array(frame)

    # update stats
    global frame_count, started

    frame_count += 1
    if frame_count % max_frame == 0:
        elapsed = time.time() - started
        print("frame: {}, elapsed: {:.2f} secs, fps: {:.0f}".format(frame_count, elapsed, max_frame/elapsed))
        started = time.time()

    return im,

ani = animation.FuncAnimation(fig, one_step, interval=0, blit=True, repeat=False)
plt.show()

Just wanting to clarify, is this a regression specifically on dm_control==1.0.3.post1 and mujoco==2.2.0, as in things were working fine in version 1.0.2?

Good question:  this is the first time I have tried it.  I also forgot to mention a likely candidate for the difference: I am running on Windows 10.


improved webpage style, calendar entries updating from storage

no longer needed - made new edits and pull request


feat: Deep connector Jira (Metadata)

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#799  👈
#710 : 1 other dependent PR (#755 )
#756
#725
#720 : 1 other dependent PR (#661 )
#712 : 1 other dependent PR (#713 )
#711
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Cobalt0s and the rest of your teammates on  Graphite


Convert dc_tree to TreeBuilder

in ems_common_controller, resource_pool_controller, ems_cluster_controller
Biggest of thanks to @himdel for introduction in TreeBuilder.
@miq-bot add_label wip

How to find all trees:
ems_common -> Infrastructure - Providers - Summary - Host & Clusters or VMs & Templates (Available)
resource_pool -> Infrastructure - Resource Pool - Click any RP with VMs - All VMs (Tree View)
ems_clusters -> Infrastructure - Clusters - Click any Cluster with VMs - All VMs (Tree View)

@miq-bot remove_label wip

@miq-bot remove_label gem changes

@martinpovolny review pretty please.

The code lI can see from our records that you have logged in to your account since sending this email.
of ooks good. I want to give it a ride in the UI later today.
What saddens me is the lack of specs here :cry: :crying_cat_face: :sob:

Will look into specs this week :hurtrealbad:

Blocked by https://github.com/ManageIQ/manageiq/issues/7947
@miq-bot add_label wip

Issue resolved. Should be all good and working.
@miq-bot remove_label wip

@martinpovolny please review

@martinpovolny I tested this in the UI and it seems to work just as before
@ZitaNemeckova Needs to be rebased, but looks good!

@dclarizio @martinpovolny tests are finally green


issue with 'can compose geotransforms` failing intermittently

this build failed - https://travis-ci.org/meteogrid/bindings-gdal/jobs/111403295 - because of this function
worth investigating why; as when you just re-run the tests it doesn't fail.

This seems to be because of numerical instability. I've comited a work-around in a6898999c84c7d. Please reopen if you see it failing again.


ImportError:  fluidsynth() was called but pyfluidsynth is not installed.

I have installed all the packages as you asked, but still get this error.
It seems that there doesn't  be a solution online.

sudo apt-get install fluidsynth
or check the installation docs here


Update _fingerprint.py

Code adapted to work with Sirius 4.8.2, with the new command-line interface (>4.4.29).
It seems to be working fine as the outputs are being generated correctly (comparing to old datasets), but please double-check.

Thanks @helenamrusso these changes look great! Are you able to run the unit tests locally and confirm that the tests continue to pass?

Hi @ElDeveloper, happy it is ok! Yes, I ran Qemistree with these modifications, and it is working.

Hi @helenamrusso, thanks for the PRs. I am happy to test your PR it for the test data in the repository and make sure that the unit tests are passing. Could you please share the exact commands you ran to make it work on your dataset?
Thanks, I look forward to merging this soon.


Make an equivalent Linux script

From https://www.reddit.com/r/Julia/comments/gbedwz/julia_windows_installation_script_with_batteries/fp7s8xl/

write python or bash code to replace the Windows .bat parts
get to the Julia part as fast as possible, and try to cross-platform generalise as much as poossible
maybe seperate the bat / julia / python code and allow the installer scripts to automatically get the julia part from github as a proper .jl file (added security issues).
get some bash glue going to replace the .bat entry points

This is a good template for the bash glue:
#--------------------------------------------------
# I might be a symlink, so here is my actual location
#--------------------------------------------------
#From https://stackoverflow.com/a/246128
SOURCE="${BASH_SOURCE[0]}"
while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink
  DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
  SOURCE="$(readlink "$SOURCE")"
  # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located
  [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE"
done
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"

#--------------------------------------------------
# Setup the environment variables and paths for Juliawin
#--------------------------------------------------
__environmentcode__

#--------------------------------------------------
# Finally, run this binary please
#--------------------------------------------------
"$DIR/__relativepathtobin__" "$@"

If we really want to, we can also have Batch, Python and Julia within one script
#!/usr/bin/env python
"""
:: ========== Batch part ==========
@echo off
clear

echo hello world from bat
python "%~0"
julia "%~0"

exit /b
"""
#=
# ========== Python part ==========
print("Hello world from Python")

"""
=#
# ========== Julia part ==========
print("Hello world from Julia")

# """

This is implemented, but not in main branch yet. There are also still some bugs to fix.

I removed all the linux parts for now untill I can focus on adding a proper linux implimentation

MacOS support will be great as well.

Since I've been able to only sparsely maintaining this project, I'm scaling back on extra features to rather focus on GitHub actions with a continual release cycle. Since I don't have a Mac, and since I don't have a linux port yet (which I think would be the first step for cross-platform use) I'm not going to put work into an MacOS release.

Once you have something for Linux I'd be happy to try helping on the macOS front.
Though, have you thought about using PowerShell? It might maje things easier for multi OS support, no?


sta: very crude static timing analysis pass

This is @eddiehung's static timing analysis command grafted onto a new branch. While that branch has a lot of other code changes, I'm not too familiar with the areas involved, so chose to keep the changes as minimal as feasible.
This modifies some of the ABC9 code due to a change in TimingInfo, but the ABC9 test passes locally, so I'm reasonably confident I didn't break anything there.
Supersedes #1732.

It looks like the sta command itself is missing from this PR and it just has the surrounding changes?

Serves me right for filing a PR at 3am...

Rebased to 113c9438.


Workbench Accelerator Tolerations Fix

https://issues.redhat.com/browse/RHOAIENG-807
/hold
Holding until we determine this is for 2.5 or not.

No bot here... hold didn't work.
Adding to the title not to merge.

[DO NOT MERGE] is not a blocker for DevOps if they need to merge this in the early hours of IST.


Run rustfmt over codebase

This is one of the few repos I have to disable automatic formatting for.
CC: #917

This kills a lot of the work I'm doing. Please wait for at least the crate to stabilize.

These failures seem to be unrelated to the formatting. I can reproduce them locally with cargo test on the current master:
failures:

---- join_size stdout ----
thread 'join_size' panicked at 'assertion failed: `(left == right)`
  left: `28`,
 right: `32`', futures\tests\async_await_macros.rs:177:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

---- try_join_size stdout ----
thread 'try_join_size' panicked at 'assertion failed: `(left == right)`
  left: `28`,
 right: `32`', futures\tests\async_await_macros.rs:193:5

failures:
    join_size
    try_join_size

This kills a lot of the work I'm doing. Please wait for at least the crate to stabilize.

FWIW, in principle you should be able to rustfmt your branch as well and then apply your changes git checkout my-branch . over the formatted master and have the same result.

Note that the opposite is not true, and I've already lost two patches in progress due to accidentally running rustfmt for one reason or another :cry:

If I remember correctly, it should depend on the type of change.

By the way, the current setting of rustfmt.toml is different from what we actually use. This is another reason I don't want this PR to be merged now (I personally want to remove rustfmt.toml).

By the way, if conflicts with editor settings are a problem, I think adding disable_all_formatting = true to rustfmt.toml is also a good way.

I'd like to hold off on this for the time being.


chart.legend设置marker 为长方形

[ ] I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?
自定义图例的maker支持长方形
What does the proposed API look like?
设置生效
chart.legend({
custom: true,
items: [
{
name: 'sasas',
marker: {
symbol:'square',
style: {
width: 30,
height: 20
}
}
}
]
})

兄弟你这样搞可以？ style里面有width  height两个属性吗


Fixing bug for partly incoming data processing

In my case, data from the server comes in chunks and one line could be split in half. But String.enumerateSubstrings(... .options: byLines) counts unfinished line just like finished. So the result was that event was not processing at all. Critical bug.
Changing from enumerateSubstrings to "\n" search fixes that.

Anybody home?
@jordancamara ? @vldalx ?


[CI Problem] A problem occurred configuring root project 'android_rpc'.

Possibly related: another android_rpc failure from several weeks ago: https://github.com/apache/tvm/issues/12191
Branch/PR Failing
https://github.com/apache/tvm/commit/8174d082e8168db9ad63826c9d68aee8c76c7090
Jenkins Link
https://github.com/apache/tvm/runs/7983481668?check_suite_focus=true
Flakiness
No

closing since this hasn't happened in a while


GH-18036: [Packaging][Python] Added wheels for Alpine Linux

Rationale for this change
This change adds pre-building of musllinux wheels, which can be installed on Alpine-Linux

What changes are included in this PR?
I'm only using musllinux_1_2 since I couldn't get musllinux_1_1 to work (and can't say for sure if it's even needed)

Are these changes tested?
TBA

Are there any user-facing changes?
Wheels will be added for musllinux

Closes: #18036

@kou I'm running archery docker run python-wheel-musllinux-1-2 locally right now and most of it seems to work. Right now it fails locally on the cmake --build . --target install step, which seems to be running within the container itself. That step seems to run out of memory locally though, so I'm not sure if I can test everything right now. I'm now trying to run it again with a little more memory allocated to Docker, but if that doesn't help I'll need to run it on my other laptop/I'd be unable to run it locally.

How much memory did you use?

I increased the max amount to 10gb, so I'm starting to think it's not actually a memory issue, but it's the only thing I can find when googling the error. I'll try some more debugging steps (like running the build interactively).

Could you share your logs?

Of course!
+ cmake --build . --target install
[58/128] Building CXX object src/arrow/dataset/CMakeFiles/arrow_dataset_objlib.dir/Unity/unity_1_cxx.cxx.o
FAILED: src/arrow/dataset/CMakeFiles/arrow_dataset_objlib.dir/Unity/unity_1_cxx.cxx.o
/usr/local/bin/ccache /usr/bin/c++ -DARROW_DS_EXPORTING -DARROW_HAVE_RUNTIME_AVX2 -DARROW_HAVE_RUNTIME_AVX512 -DARROW_HAVE_RUNTIME_BMI2 -DARROW_HAVE_RUNTIME_SSE4_2 -DARROW_HAVE_SSE4_2 -DARROW_HDFS -DARROW_MIMALLOC -DARROW_WITH_BROTLI -DARROW_WITH_BZ2 -DARROW_WITH_LZ4 -DARROW_WITH_RE2 -DARROW_WITH_SNAPPY -DARROW_WITH_TIMING_TESTS -DARROW_WITH_UTF8PROC -DARROW_WITH_ZLIB -DARROW_WITH_ZSTD -DAWS_SDK_VERSION_MAJOR=1 -DAWS_SDK_VERSION_MINOR=11 -DAWS_SDK_VERSION_PATCH=201 -DAWS_USE_EPOLL -DAZ_RTTI -DCURL_STATICLIB -DURI_STATIC_BUILD -DUTF8PROC_STATIC -I/tmp/arrow-build/src -I/arrow/cpp/src -I/arrow/cpp/src/generated -I/arrow/cpp/src/parquet -isystem /arrow/cpp/thirdparty/flatbuffers/include -isystem /arrow/cpp/thirdparty/hadoop/include -isystem /opt/vcpkg/installed/amd64-linux-static-release/include -isystem /tmp/arrow-build/orc_ep-install/include -isystem /opt/vcpkg/installed/amd64-linux-static-release/share/rapidjson/../../include -isystem /tmp/arrow-build/jemalloc_ep-prefix/src -isystem /tmp/arrow-build/mimalloc_ep/src/mimalloc_ep/include/mimalloc-2.0 -Wno-noexcept-type -Wno-subobject-linkage  -fdiagnostics-color=always  -Wall -fno-semantic-interposition -msse4.2  -O3 -DNDEBUG -O2 -ftree-vectorize  -fPIC -DS2N_KYBER512R3_AVX2_BMI2 -DS2N_CPUID_AVAILABLE -DS2N_FEATURES_AVAILABLE -fPIC -DS2N_FALL_THROUGH_SUPPORTED -DS2N___RESTRICT__SUPPORTED -DS2N_MADVISE_SUPPORTED -DS2N_CLONE_SUPPORTED -std=c++17 -MD -MT src/arrow/dataset/CMakeFiles/arrow_dataset_objlib.dir/Unity/unity_1_cxx.cxx.o -MF src/arrow/dataset/CMakeFiles/arrow_dataset_objlib.dir/Unity/unity_1_cxx.cxx.o.d -o src/arrow/dataset/CMakeFiles/arrow_dataset_objlib.dir/Unity/unity_1_cxx.cxx.o -c /tmp/arrow-build/src/arrow/dataset/CMakeFiles/arrow_dataset_objlib.dir/Unity/unity_1_cxx.cxx
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
[71/128] Building CXX object src/parquet/CMakeFiles/parquet_objlib.dir/Unity/unity_1_cxx.cxx.o
ninja: build stopped: subcommand failed.

Could you disable CMAKE_UNITY_BUILD for now?
https://github.com/apache/arrow/pull/40177/files#diff-323a5673627df4e855450c3b25e09df91f0b5e1beb654194f2b2bbb6f33f6e90R73

Could you disable CMAKE_UNITY_BUILD for now? https://github.com/apache/arrow/pull/40177/files#diff-323a5673627df4e855450c3b25e09df91f0b5e1beb654194f2b2bbb6f33f6e90R73

Running now! Will let you know the result when it's finished

It got a little further and now times out git status:
+ python setup.py bdist_wheel
setup.py:34: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  import pkg_resources
/opt/python/cp38-cp38/lib/python3.8/site-packages/setuptools/__init__.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!

        ********************************************************************************
        Requirements should be satisfied by a PEP 517 installer.
        If you are using pip, you can try `pip install --use-pep517`.
        ********************************************************************************

!!
  dist.fetch_build_eggs(dist.setup_requires)
WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section'
Traceback (most recent call last):
  File "setup.py", line 475, in <module>
    setup(
  File "/opt/python/cp38-cp38/lib/python3.8/site-packages/setuptools/__init__.py", line 103, in setup
    return distutils.core.setup(**attrs)
  File "/opt/python/cp38-cp38/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 147, in setup
    _setup_distribution = dist = klass(attrs)
  File "/opt/python/cp38-cp38/lib/python3.8/site-packages/setuptools/dist.py", line 303, in __init__
    _Distribution.__init__(self, dist_attrs)
  File "/opt/python/cp38-cp38/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 283, in __init__
    self.finalize_options()
  File "/opt/python/cp38-cp38/lib/python3.8/site-packages/setuptools/dist.py", line 654, in finalize_options
    ep(self)
  File "/opt/python/cp38-cp38/lib/python3.8/site-packages/setuptools/dist.py", line 674, in _finalize_setup_keywords
    ep.load()(self, ep.name, value)
  File "/opt/python/cp38-cp38/lib/python3.8/site-packages/setuptools_scm/_integration/setuptools.py", line 101, in version_keyword
    _assign_version(dist, config)
  File "/opt/python/cp38-cp38/lib/python3.8/site-packages/setuptools_scm/_integration/setuptools.py", line 53, in _assign_version
    maybe_version = _get_version(config, force_write_version_files=True)
  File "/opt/python/cp38-cp38/lib/python3.8/site-packages/setuptools_scm/_get_version_impl.py", line 93, in _get_version
    parsed_version = parse_version(config)
  File "/opt/python/cp38-cp38/lib/python3.8/site-packages/setuptools_scm/_get_version_impl.py", line 56, in parse_version
    or parse_scm_version(config)
  File "/opt/python/cp38-cp38/lib/python3.8/site-packages/setuptools_scm/_get_version_impl.py", line 27, in parse_scm_version
    parse_result = config.parse(config.absolute_root, config=config)
  File "setup.py", line 430, in parse_git
    return parse(root, **kwargs)
  File "/opt/python/cp38-cp38/lib/python3.8/site-packages/setuptools_scm/git.py", line 211, in parse
    return _git_parse_inner(
  File "/opt/python/cp38-cp38/lib/python3.8/site-packages/setuptools_scm/git.py", line 267, in _git_parse_inner
    dirty = wd.is_dirty()
  File "/opt/python/cp38-cp38/lib/python3.8/site-packages/setuptools_scm/git.py", line 94, in is_dirty
    return run_git(
  File "/opt/python/cp38-cp38/lib/python3.8/site-packages/setuptools_scm/git.py", line 58, in run_git
    return _run(
  File "/opt/python/cp38-cp38/lib/python3.8/site-packages/setuptools_scm/_run_cmd.py", line 144, in run
    res = subprocess.run(
  File "/opt/python/cp38-cp38/lib/python3.8/subprocess.py", line 495, in run
    stdout, stderr = process.communicate(input, timeout=timeout)
  File "/opt/python/cp38-cp38/lib/python3.8/subprocess.py", line 1028, in communicate
    stdout, stderr = self._communicate(input, endtime, timeout)
  File "/opt/python/cp38-cp38/lib/python3.8/subprocess.py", line 1885, in _communicate
    self._check_timeout(endtime, orig_timeout, stdout, stderr)
  File "/opt/python/cp38-cp38/lib/python3.8/subprocess.py", line 1072, in _check_timeout
    raise TimeoutExpired(
subprocess.TimeoutExpired: Command '['git', '--git-dir', '/arrow/.git', 'status', '--porcelain', '--untracked-files=no']' timed out after 20 seconds

If you run the git status ... command manually, does it work?

Yes. Not sure if it's because not everything has ran yet (I just started the Docker container using docker run -v .:/arrow:delegated -v ${DOCKER_VOLUME_PREFIX}python-wheel-musllinux-1-2-ccache:/ccache:delegated -it apache/arrow-dev:amd64-python-3.8-wheel-musllinux-1-2-vcpkg-a42af01b72c28a8e1d7b48107b33e4f286a55ef6 /bin/ash) or something else?

You can run the same configured container by archery docker run python-wheel-musllinux-1-12 bash.

It runs fine when I run it manually manually.


Readme should say where to put config

There is no indication in the readme saying where or which file to put
xdebug.remote_enable=1 xdebug.remote_host=<IP_ADDRESS> xdebug.remote_connect_back=1    # Not safe for production servers xdebug.remote_port=9000 xdebug.remote_handler=dbgp xdebug.remote_mode=req xdebug.remote_autostart=true

php.ini of course:
https://xdebug.org/docs/install


Delete cirq/testing/mock.py, which was only used for python2 compatibility

Part of: https://github.com/quantumlib/Cirq/issues/1372

I see you picked up on the hint to do bite-sized chunks :+1:

Isn't this backwards? On py3 it should be
from unittest import mock

and you can drop mock backport as a dependency

@mpharrigan Fixed here: https://github.com/quantumlib/Cirq/pull/1599


Don't filter by minecraft version & loader for non-mod projects

This shouldn't be a problem, at least in terms of mod loader, for Modrinth or CurseForge now; CurseForge non-mod projects don't specify a loader (so packwiz allows any) and Modrinth non-mod projects are filtered appropriately (resource packs are always allowed).
I think filtering by game version is necessary; even non-mod projects will still break with new Minecraft versions.


Add info to context about the label for rows

Rows may represent different things: timestamps, subtypes, etc. As part of the context call, sibyl-api should offer a way to give the label to be used instead of row_id

Closed by #107


feat(yaml): enable mayastor trace for some images

Enable RUST_LOG=trace for develop and test images, avoid on release
images.
Does it make sense? Should help in cases when errors are not easily repeatable.

I'd agree that trace is probably too much. I usually run my develop with "mayastor=debug".
What about changing the mayastorTraceLog from bool to an actual log value, set the default to "info" and for develop set it to "mayastor=debug"?

Please take another look.


Feature request: Handcraft and freeze parts of a prompt, optimize other parts

I don't believe this is possible. but unsure with the new backend refactor.
I'd like to be able to handcraft and "freeze" a prompt template and have DSPY fill in few shot examples, template variables and arbitrary things like that. These sections can have some initial value or just be blank.
Maybe this goes against the philosophy of Dspy and is a won't fix? I got some upvotes in discord when I posted this

This is possible right now with one of the fixes in PR https://github.com/stanfordnlp/dspy/pull/843
Below is the pseudocode for doing this:
def my_optimize_fn:
# load previously optimized program
# re-optimize using an optimizer
# save optimized program


AttributeError: 'Superagent' object has no attribute 'agents'

AttributeError                            Traceback (most recent call last)
[/Users/dekahalane/superagent-py/test.ipynb](https://file+.vscode-resource.vscode-cdn.net/Users/dekahalane/superagent-py/test.ipynb) Cell 1 line 6
      [2](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W0sZmlsZQ%3D%3D?line=1) from superagent.client import Superagent
      [4](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W0sZmlsZQ%3D%3D?line=3) client = Superagent(token="REMOVED FOR DEBUGGING", base_url="https://api.beta.superagent.sh/")
----> [6](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W0sZmlsZQ%3D%3D?line=5) agent = client.agents.create(request={
      [7](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W0sZmlsZQ%3D%3D?line=6)     "name": "My Agent",
      [8](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W0sZmlsZQ%3D%3D?line=7)     "description": "My awesome agent",
      [9](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W0sZmlsZQ%3D%3D?line=8)     "isActive": True,
     [10](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W0sZmlsZQ%3D%3D?line=9)     "llmModel": "GPT_4_0613"
     [11](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W0sZmlsZQ%3D%3D?line=10) })
     [13](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W0sZmlsZQ%3D%3D?line=12) output = client.agent.invoke(
     [14](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W0sZmlsZQ%3D%3D?line=13)     agent_id=agent.data.id,
     [15](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W0sZmlsZQ%3D%3D?line=14)     input="Hi there!",
     [16](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W0sZmlsZQ%3D%3D?line=15)     enable_streaming=False,
     [17](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W0sZmlsZQ%3D%3D?line=16)     session_id="123"
     [18](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W0sZmlsZQ%3D%3D?line=17) )
     [20](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W0sZmlsZQ%3D%3D?line=19) print("Received response from superagent", agent.data)

AttributeError: 'Superagent' object has no attribute 'agents'

I can't find the documentation to fix this error, I've tried both removing the agents from client.agents.create and just the s as I thought it might be a typo but then it throws an InternalServerError

Taking a look, will add some more docs as well @dekacypher

AttributeError                            Traceback (most recent call last)
[/Users/dekahalane/superagent-py/test.ipynb](https://file+.vscode-resource.vscode-cdn.net/Users/dekahalane/superagent-py/test.ipynb) Cell 1 line 6
      [2](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W0sZmlsZQ%3D%3D?line=1) from superagent.client import Superagent
      [4](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W0sZmlsZQ%3D%3D?line=3) client = Superagent(token="REMOVED FOR DEBUGGING", base_url="https://api.beta.superagent.sh/")
----> [6](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W0sZmlsZQ%3D%3D?line=5) agent = client.agents.create(request={
      [7](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W0sZmlsZQ%3D%3D?line=6)     "name": "My Agent",
      [8](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W0sZmlsZQ%3D%3D?line=7)     "description": "My awesome agent",
      [9](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W0sZmlsZQ%3D%3D?line=8)     "isActive": True,
     [10](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W0sZmlsZQ%3D%3D?line=9)     "llmModel": "GPT_4_0613"
     [11](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W0sZmlsZQ%3D%3D?line=10) })
     [13](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W0sZmlsZQ%3D%3D?line=12) output = client.agent.invoke(
     [14](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W0sZmlsZQ%3D%3D?line=13)     agent_id=agent.data.id,
     [15](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W0sZmlsZQ%3D%3D?line=14)     input="Hi there!",
     [16](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W0sZmlsZQ%3D%3D?line=15)     enable_streaming=False,
     [17](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W0sZmlsZQ%3D%3D?line=16)     session_id="123"
     [18](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W0sZmlsZQ%3D%3D?line=17) )
     [20](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W0sZmlsZQ%3D%3D?line=19) print("Received response from superagent", agent.data)

AttributeError: 'Superagent' object has no attribute 'agents'

I can't find the documentation to fix this error, I've tried both removing the agents from client.agents.create and just the s as I thought it might be a typo but then it throws an InternalServerError

Here is an example that's working for me:
import os

from superagent.client import Superagent

client = Superagent(token=os.environ['SUPERAGENT_TOKEN'],
                    base_url="https://api.beta.superagent.sh")

def run():
  agent = client.agent.create(
      request={
          "name": "test",
          "description": "test",
          "isActive": True,
          "llmModel": "GPT_4_0613",
          "prompt": "Answer in german"
      })

  print(agent)

if __name__ == "__main__":
  run()

Response is the following:
success=True data=PrismaModelsAgent(id='8492ce9c-8482-4ee3-883b-e8d7144741b2', name='test', avatar=None, initial_message=None, description='test', is_active=True, created_at=datetime.datetime(2023, 11, 8, 11, 11, 53, 156000, tzinfo=datetime.timezone.utc), updated_at=datetime.datetime(2023, 11, 8, 11, 11, 53, 156000, tzinfo=datetime.timezone.utc), llms=[], llm_model=<LlmModel.GPT_4_0613: 'GPT_4_0613'>, prompt='Answer in german', api_user_id='80ccb769-91a1-4200-92fd-45549e9c21d7', api_user=None, datasources=[], tools=[], workflow_steps=None)

Hi, thanks for the reply. However I  still get the same Internal Server Error earlier when i tried that:
{
	"name": "ApiError",
	"message": "status_code: 500, body: Internal Server Error",
	"stack": "---------------------------------------------------------------------------
JSONDecodeError                           Traceback (most recent call last)
File /opt/homebrew/lib/python3.11/site-packages/superagent/resources/agent/client.py:70, in AgentClient.create(self, request)
     69 try:
---> 70     _response_json = _response.json()
     71 except JSONDecodeError:

File /opt/homebrew/lib/python3.11/site-packages/httpx/_models.py:761, in Response.json(self, **kwargs)
    760 def json(self, **kwargs: typing.Any) -> typing.Any:
--> 761     return jsonlib.loads(self.content, **kwargs)

File /opt/homebrew/Cellar/python@3.11/3.11.6/Frameworks/Python.framework/Versions/3.11/lib/python3.11/json/__init__.py:346, in loads(s, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw)
    343 if (cls is None and object_hook is None and
    344         parse_int is None and parse_float is None and
    345         parse_constant is None and object_pairs_hook is None and not kw):
--> 346     return _default_decoder.decode(s)
    347 if cls is None:

File /opt/homebrew/Cellar/python@3.11/3.11.6/Frameworks/Python.framework/Versions/3.11/lib/python3.11/json/decoder.py:337, in JSONDecoder.decode(self, s, _w)
    333 \"\"\"Return the Python representation of ``s`` (a ``str`` instance
    334 containing a JSON document).
    335
    336 \"\"\"
--> 337 obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    338 end = _w(s, end).end()

File /opt/homebrew/Cellar/python@3.11/3.11.6/Frameworks/Python.framework/Versions/3.11/lib/python3.11/json/decoder.py:355, in JSONDecoder.raw_decode(self, s, idx)
    354 except StopIteration as err:
--> 355     raise JSONDecodeError(\"Expecting value\", s, err.value) from None
    356 return obj, end

JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

ApiError                                  Traceback (most recent call last)
/Users/dekahalane/superagent-py/test.ipynb Cell 1 line 2
     18   print(agent)
     21 if __name__ == \"__main__\":
---> 22   run()

/Users/dekahalane/superagent-py/test.ipynb Cell 1 line 9
      8 def run():
----> 9   agent = client.agent.create(
     10       request={
     11           \"name\": \"test\",
     12           \"description\": \"test\",
     13           \"isActive\": True,
     14           \"llmModel\": \"GPT_4_0613\",
     15           \"prompt\": \"Answer in german\"
     16       })
     18   print(agent)

File /opt/homebrew/lib/python3.11/site-packages/superagent/resources/agent/client.py:72, in AgentClient.create(self, request)
     70     _response_json = _response.json()
     71 except JSONDecodeError:
---> 72     raise ApiError(status_code=_response.status_code, body=_response.text)
     73 raise ApiError(status_code=_response.status_code, body=_response_json)

ApiError: status_code: 500, body: Internal Server Error"
}

@dekacypher try this, works for me:
import os

from superagent.client import Superagent

client = Superagent(token=os.environ['SUPERAGENT_TOKEN'],
                    base_url="https://api.beta.superagent.sh")

def run():
  agent = client.agent.create(
      request={
          "name": "test",
          "description": "test",
          "isActive": True,
          "llmModel": "GPT_4_0613",
          "prompt": "Answer in german"
      })

  print(agent)

if __name__ == "__main__":
  run()

What's the difference in this? I tried it and got the same error

?

Please Send me the agent ID you are using

@dekacypher did you get it working? If not, mind sharing your code implementation?

No, i did not get it working. Heres the code, and the token is the agent-ID:
token = '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'
import os

from superagent.client import Superagent

client = Superagent(token=token,
                    base_url="https://api.beta.superagent.sh")

def run():
  agent = client.agent.create(
      request={
          "name": "test",
          "description": "test",
          "isActive": True,
          "llmModel": "GPT_4_0613",
          "prompt": "Answer in german"
      })

  print(agent)

if __name__ == "__main__":
  run()

@dekacypher I see the issue now. You need to configure the LLM object as well. E.g:
import os

from superagent.client import Superagent

client = Superagent(token=os.environ['SUPERAGENT_TOKEN'],
                    base_url="https://api.beta.superagent.sh")

def run():
  llm = client.llm.create(request={
    "provider": "OPENAI",
    "apiKey": os.environ["OPENAI_API_KEY"]
  })
  agent = client.agent.create(
      request={
          "name": "test",
          "description": "test",
          "isActive": True,
          "llmModel": "GPT_4_0613",
          "prompt": "Answer in german"
      })

  client.agent.add_llm(agent_id=agent.data.id, llm_id=llm.data.id)

  print(agent)

if __name__ == "__main__":
  run()

When i first tried the code i got a [python/httpx/asyncio: httpx.RemoteProtocolError: Server disconnected without sending a response](https://stackoverflow.com/questions/71138509/python-httpx-asyncio-httpx-remoteprotocolerror-server-disconnected-without-sen) however i can't find the traceback again as I've ran the code multiple times. However heres the most recent traceback:
{
	"name": "ApiError",
	"message": "status_code: 500, body: Internal Server Error",
	"stack": "---------------------------------------------------------------------------
JSONDecodeError                           Traceback (most recent call last)
File ~/superagent-py/super/lib/python3.11/site-packages/superagent/resources/llm/client.py:66, in LlmClient.create(self, request)
     65 try:
---> 66     _response_json = _response.json()
     67 except JSONDecodeError:

File ~/superagent-py/super/lib/python3.11/site-packages/httpx/_models.py:761, in Response.json(self, **kwargs)
    760 def json(self, **kwargs: typing.Any) -> typing.Any:
--> 761     return jsonlib.loads(self.content, **kwargs)

File /opt/homebrew/Cellar/python@3.11/3.11.6/Frameworks/Python.framework/Versions/3.11/lib/python3.11/json/__init__.py:346, in loads(s, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw)
    343 if (cls is None and object_hook is None and
    344         parse_int is None and parse_float is None and
    345         parse_constant is None and object_pairs_hook is None and not kw):
--> 346     return _default_decoder.decode(s)
    347 if cls is None:

File /opt/homebrew/Cellar/python@3.11/3.11.6/Frameworks/Python.framework/Versions/3.11/lib/python3.11/json/decoder.py:337, in JSONDecoder.decode(self, s, _w)
    333 \"\"\"Return the Python representation of ``s`` (a ``str`` instance
    334 containing a JSON document).
    335
    336 \"\"\"
--> 337 obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    338 end = _w(s, end).end()

File /opt/homebrew/Cellar/python@3.11/3.11.6/Frameworks/Python.framework/Versions/3.11/lib/python3.11/json/decoder.py:355, in JSONDecoder.raw_decode(self, s, idx)
    354 except StopIteration as err:
--> 355     raise JSONDecodeError(\"Expecting value\", s, err.value) from None
    356 return obj, end

JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

ApiError                                  Traceback (most recent call last)
/Users/dekahalane/superagent-py/test.ipynb Cell 3 line 3
     28   print(agent)
     31 if __name__ == \"__main__\":
---> 32   run()

/Users/dekahalane/superagent-py/test.ipynb Cell 3 line 1
     12 def run():
---> 13   llm = client.llm.create(request={
     14     \"provider\": \"OPENAI\",
     15     \"apiKey\": os.environ['OPENAI_API_KEY']
     16   })
     17   agent = client.agent.create(
     18       request={
     19           \"name\": \"test\",
   (...)
     23           \"prompt\": \"Answer in german\"
     24       })
     26   client.agent.add_llm(agent_id=agent.data.id, llm_id=llm.data.id)

File ~/superagent-py/super/lib/python3.11/site-packages/superagent/resources/llm/client.py:68, in LlmClient.create(self, request)
     66     _response_json = _response.json()
     67 except JSONDecodeError:
---> 68     raise ApiError(status_code=_response.status_code, body=_response.text)
     69 raise ApiError(status_code=_response.status_code, body=_response_json)

ApiError: status_code: 500, body: Internal Server Error"
}

@dekacypher can you try again using the latest version of the SDK?

Yes, I've just updated it.
---------------------------------------------------------------------------
JSONDecodeError                           Traceback (most recent call last)
File [~/superagent-py/super/lib/python3.11/site-packages/superagent/resources/llm/client.py:66](https://file+.vscode-resource.vscode-cdn.net/Users/dekahalane/superagent-py/~/superagent-py/super/lib/python3.11/site-packages/superagent/resources/llm/client.py:66), in LlmClient.create(self, request)
     65 try:
---> 66     _response_json = _response.json()
     67 except JSONDecodeError:

File [~/superagent-py/super/lib/python3.11/site-packages/httpx/_models.py:761](https://file+.vscode-resource.vscode-cdn.net/Users/dekahalane/superagent-py/~/superagent-py/super/lib/python3.11/site-packages/httpx/_models.py:761), in Response.json(self, **kwargs)
    760 def json(self, **kwargs: typing.Any) -> typing.Any:
--> 761     return jsonlib.loads(self.content, **kwargs)

File [/opt/homebrew/Cellar/python](https://file+.vscode-resource.vscode-cdn.net/opt/homebrew/Cellar/python)@3.11/3.11.6/Frameworks/Python.framework/Versions/3.11/lib/python3.11/json/__init__.py:346, in loads(s, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw)
    343 if (cls is None and object_hook is None and
    344         parse_int is None and parse_float is None and
    345         parse_constant is None and object_pairs_hook is None and not kw):
--> 346     return _default_decoder.decode(s)
    347 if cls is None:

File [/opt/homebrew/Cellar/python](https://file+.vscode-resource.vscode-cdn.net/opt/homebrew/Cellar/python)@3.11/3.11.6/Frameworks/Python.framework/Versions/3.11/lib/python3.11/json/decoder.py:337, in JSONDecoder.decode(self, s, _w)
    333 """Return the Python representation of ``s`` (a ``str`` instance
    334 containing a JSON document).
    335
    336 """
--> 337 obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    338 end = _w(s, end).end()

File [/opt/homebrew/Cellar/python](https://file+.vscode-resource.vscode-cdn.net/opt/homebrew/Cellar/python)@3.11/3.11.6/Frameworks/Python.framework/Versions/3.11/lib/python3.11/json/decoder.py:355, in JSONDecoder.raw_decode(self, s, idx)
    354 except StopIteration as err:
--> 355     raise JSONDecodeError("Expecting value", s, err.value) from None
    356 return obj, end

JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

ApiError                                  Traceback (most recent call last)
[/Users/dekahalane/superagent-py/test.ipynb](https://file+.vscode-resource.vscode-cdn.net/Users/dekahalane/superagent-py/test.ipynb) Cell 3 line 3
     [28](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W2sZmlsZQ%3D%3D?line=27)   print(agent)
     [31](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W2sZmlsZQ%3D%3D?line=30) if __name__ == "__main__":
---> [32](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W2sZmlsZQ%3D%3D?line=31)   run()

[/Users/dekahalane/superagent-py/test.ipynb](https://file+.vscode-resource.vscode-cdn.net/Users/dekahalane/superagent-py/test.ipynb) Cell 3 line 1
     [12](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W2sZmlsZQ%3D%3D?line=11) def run():
---> [13](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W2sZmlsZQ%3D%3D?line=12)   llm = client.llm.create(request={
     [14](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W2sZmlsZQ%3D%3D?line=13)     "provider": "OPENAI",
     [15](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W2sZmlsZQ%3D%3D?line=14)     "apiKey":'HIDDEN'
     [16](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W2sZmlsZQ%3D%3D?line=15)   })
     [17](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W2sZmlsZQ%3D%3D?line=16)   agent = client.agent.create(
     [18](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W2sZmlsZQ%3D%3D?line=17)       request={
     [19](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W2sZmlsZQ%3D%3D?line=18)           "name": "test",
   (...)
     [23](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W2sZmlsZQ%3D%3D?line=22)           "prompt": "Answer in german"
     [24](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W2sZmlsZQ%3D%3D?line=23)       })
     [26](vscode-notebook-cell:/Users/dekahalane/superagent-py/test.ipynb#W2sZmlsZQ%3D%3D?line=25)   client.agent.add_llm(agent_id=agent.data.id, llm_id=llm.data.id)

File [~/superagent-py/super/lib/python3.11/site-packages/superagent/resources/llm/client.py:68](https://file+.vscode-resource.vscode-cdn.net/Users/dekahalane/superagent-py/~/superagent-py/super/lib/python3.11/site-packages/superagent/resources/llm/client.py:68), in LlmClient.create(self, request)
     66     _response_json = _response.json()
     67 except JSONDecodeError:
---> 68     raise ApiError(status_code=_response.status_code, body=_response.text)
     69 raise ApiError(status_code=_response.status_code, body=_response_json)

ApiError: status_code: 500, body: Internal Server Error

Can you paste the code you are running plz?

It's the same code you gave me